summaryrefslogtreecommitdiffstats
path: root/include/key_state.h
diff options
context:
space:
mode:
authorLibravatar taiyu <taiyu.len@gmail.com>2015-08-19 20:22:15 -0700
committerLibravatar taiyu <taiyu.len@gmail.com>2015-08-19 20:22:15 -0700
commit5ff0619ca1cab044004df044c253c9170b8316c3 (patch)
tree7872a66e494acb90dd08ffc76665557b0e0ca874 /include/key_state.h
parentkey_state.ch, and command conflicts resolved (diff)
downloadsway-5ff0619ca1cab044004df044c253c9170b8316c3.tar.gz
sway-5ff0619ca1cab044004df044c253c9170b8316c3.tar.zst
sway-5ff0619ca1cab044004df044c253c9170b8316c3.zip
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 @@
1#ifndef _SWAY_KEY_STATE_H
2#define _SWAY_KEY_STATE_H
3#include <stdbool.h>
4#include <stdint.h>
5
6typedef uint32_t keycode;
7
8// returns true if key has been pressed, otherwise false
9bool check_key(keycode key);
10
11// sets a key as pressed
12void press_key(keycode key);
13
14// unsets a key as pressed
15void release_key(keycode key);
16
17#endif
18