VIDEO: minor helper function to check if a key is currently pressed
parent
101abfa754
commit
bcf6755c19
|
@ -62,6 +62,7 @@ protected:
|
|||
|
||||
virtual bool handleSDLEvent(SDL_Event& event);
|
||||
|
||||
inline bool isPressed(int32_t key) const { return _keybindingHandler.isPressed(key); };
|
||||
bool handleKeyPress(int32_t key, int16_t modifier, uint16_t count = 1u);
|
||||
bool handleKeyRelease(int32_t key, int16_t modifier);
|
||||
|
||||
|
|
Loading…
Reference in New Issue