diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2021-12-24 20:16:41 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2021-12-24 20:16:41 +0100 |
commit | a7f23865ff7ffb57d35505bc0cf67507f1751ff2 (patch) | |
tree | d18a57dc6af9552c1cedefa0d3add8b9d8437287 /src/keyHandler.h | |
parent | 9a9a0e090190dc7a2dba833d1d4efa8417283edc (diff) |
Rename keyHandler to keyboard
Diffstat (limited to 'src/keyHandler.h')
-rw-r--r-- | src/keyHandler.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/keyHandler.h b/src/keyHandler.h deleted file mode 100644 index 5c2152c..0000000 --- a/src/keyHandler.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef KEYHANDLER_H -#define KEYHANDLER_H -#include<SDL2/SDL.h> -#include "command.h" - -class KeyHandler{ - - public: - KeyHandler(); - ~KeyHandler(); - Command* handleEvent( SDL_Event e ); - Command* pressed( SDL_Keycode k, Uint16 mod = 0); - Command* released( SDL_Keycode k, Uint16 mod = 0); - - // Modifiers: https://wiki.libsdl.org/SDL_Keymod - // Keycodes: https://wiki.libsdl.org/SDL_Keycode - private: - Command* nop; -}; - -#endif |