aboutsummaryrefslogtreecommitdiff
path: root/include/input_state.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-08-23 12:34:18 -0700
committerFurkan Sahin <furkan-dev@proton.me>2015-08-23 12:34:18 -0700
commit00cedc9af50e752a160a870c6d1283a62d780a86 (patch)
tree1a9e633ead0ff50f55987310621dab39531d2305 /include/input_state.h
parent0394d4756c999a085f352fc76473a4a45cf3cbc2 (diff)
parent993e03da2966a312e3134612605c8c0d8da57215 (diff)
merge
Diffstat (limited to 'include/input_state.h')
-rw-r--r--include/input_state.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/input_state.h b/include/input_state.h
index 4ab93cd6..d87ae18c 100644
--- a/include/input_state.h
+++ b/include/input_state.h
@@ -6,16 +6,14 @@
/* Keyboard state */
-typedef uint32_t keycode;
-
// returns true if key has been pressed, otherwise false
-bool check_key(keycode key);
+bool check_key(uint32_t key_sym, uint32_t key_code);
// sets a key as pressed
-void press_key(keycode key);
+void press_key(uint32_t key_sym, uint32_t key_code);
// unsets a key as pressed
-void release_key(keycode key);
+void release_key(uint32_t key_sym, uint32_t key_code);
/* Pointer state */