aboutsummaryrefslogtreecommitdiff
path: root/include/key_state.h
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-08-19 20:22:15 -0700
committertaiyu <taiyu.len@gmail.com>2015-08-19 20:22:15 -0700
commit5ff0619ca1cab044004df044c253c9170b8316c3 (patch)
tree7872a66e494acb90dd08ffc76665557b0e0ca874 /include/key_state.h
parent470b4dfbae146d83c0061b39534c16b5aad90f1c (diff)
input state, find_container_in_direction
Diffstat (limited to 'include/key_state.h')
-rw-r--r--include/key_state.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/key_state.h b/include/key_state.h
deleted file mode 100644
index a8fa8d5e..00000000
--- a/include/key_state.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef _SWAY_KEY_STATE_H
-#define _SWAY_KEY_STATE_H
-#include <stdbool.h>
-#include <stdint.h>
-
-typedef uint32_t keycode;
-
-// returns true if key has been pressed, otherwise false
-bool check_key(keycode key);
-
-// sets a key as pressed
-void press_key(keycode key);
-
-// unsets a key as pressed
-void release_key(keycode key);
-
-#endif
-