summaryrefslogtreecommitdiff
path: root/src/keyHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyHandler.h')
-rw-r--r--src/keyHandler.h21
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