|
MochiEngine
|
Implementation of IKeyboardProvider that uses SDL_GetKeyboardState to retrieve keyboard data. More...
#include <SDLKeyboardProvider.h>
Public Member Functions | |
| virtual const bool * | GetState () const override |
| Gets an array of boolean values defining if each keyboard key is being pressed this frame or not. Key mapping is responsability of each implementation, but currently should follow the SDL keycode definitions. | |
| virtual size_t | GetMaxKeys () const override |
| Gets the maximum amount of keys, which is the size of the GetState array of bools. | |
Implementation of IKeyboardProvider that uses SDL_GetKeyboardState to retrieve keyboard data.
|
overridevirtual |
Gets the maximum amount of keys, which is the size of the GetState array of bools.
Implements Mochi::Input::IKeyboardProvider.
|
overridevirtual |
Gets an array of boolean values defining if each keyboard key is being pressed this frame or not. Key mapping is responsability of each implementation, but currently should follow the SDL keycode definitions.
Implements Mochi::Input::IKeyboardProvider.