14 #ifndef GK_GAMEPAD_HPP_ 15 #define GK_GAMEPAD_HPP_ 89 #endif // GK_GAMEPAD_HPP_
static bool isKeyPressed(GameKey key)
Check if a key is pressed.
static bool isKeyPressedOnce(GameKey key)
Check if a key is pressed only one time.
static void init(InputHandler &_inputHandler)
Initialize with an InputHandler.
static bool isKeyPressedWithDelay(GameKey key, u16 delay)
Check if a key is pressed with delay.
static InputHandler * inputHandler
Current input handler.
u32 GameKey
Alias for game key type.
Give access to the real time state of an input handler.
static InputHandler * getInputHandler()
Get the current input handler.