Is there an SDL_ACTIVEEVENT equivalent in SDL 2.0? How do we handle SDL_APPMOUSEFOCUS and SDL_APPINPUTFOCUS?
SDL2's SDL_WindowEvent
:
SDL_APPMOUSEFOCUS
maps to SDL_WINDOWEVENT_ENTER
and SDL_WINDOWEVENT_LEAVE
SDL_APPINPUTFOCUS
maps to SDL_WINDOWEVENT_FOCUS_GAINED
and SDL_WINDOWEVENT_FOCUS_LOST
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With