I want to thank you (all contributors) for the SDL 2.0 headers!
Finally I was able to handle focus changing, keyboad input, game controllers etc.
A great relief!