Class | Rubygame::Events::InputFocusGained
In: | lib/rubygame/events/misc_events.rb
Parent: | Object

InputFocusGained is an event that occurs when the Rubygame application gains input focus.

Input focus means that the app will receive events from input devices, such as the keyboard and joysticks.

Usually, an application has input focus when it is the "active" application (the one the user has clicked on or switched to most recently).

[Validate]