From a7f23865ff7ffb57d35505bc0cf67507f1751ff2 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 24 Dec 2021 20:16:41 +0100 Subject: Rename keyHandler to keyboard --- src/keyHandler.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/keyHandler.h (limited to 'src/keyHandler.h') 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 -#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 -- cgit v1.2.3