diff options
| author | realtradam <[email protected]> | 2023-04-25 19:47:21 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-04-25 19:47:21 -0400 |
| commit | 6d58c7ab983e6c2345794ee7bde8dc698cf06f0e (patch) | |
| tree | f571b57f3a965cdb59a9d59e68b18e3bbeaa21db /include/rodeo/input_t.h | |
| parent | e5ad114afa00ed98908c3b3bacadf30c742cabd6 (diff) | |
| download | RodeoKit-6d58c7ab983e6c2345794ee7bde8dc698cf06f0e.tar.gz RodeoKit-6d58c7ab983e6c2345794ee7bde8dc698cf06f0e.zip | |
update readme + remove unused structs
Diffstat (limited to 'include/rodeo/input_t.h')
| -rw-r--r-- | include/rodeo/input_t.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/include/rodeo/input_t.h b/include/rodeo/input_t.h index 0d57942..2277505 100644 --- a/include/rodeo/input_t.h +++ b/include/rodeo/input_t.h @@ -440,6 +440,7 @@ rodeo_input_binary_scancode_t; #define mrodeo_input_binary_scancode_mask (1<<30) #define mrodeo_input_binary_scancode_maskshift(X) (X | mrodeo_input_binary_scancode_mask) +/* typedef enum { rodeo_input_binary_keycode_UNKNOWN = 0, @@ -482,9 +483,7 @@ typedef enum rodeo_input_binary_keycode_QUESTION = '?', rodeo_input_binary_keycode_AT = '@', - /* - Skip uppercase letters - */ + // Skip uppercase letters rodeo_input_binary_keycode_LEFTBRACKET = '[', rodeo_input_binary_keycode_BACKSLASH = '\\', @@ -719,12 +718,14 @@ typedef enum rodeo_input_binary_keycode_ENDCALL = mrodeo_input_binary_scancode_maskshift(rodeo_input_binary_scancode_ENDCALL) } rodeo_input_binary_keycode_t; +*/ /** * \brief Enumeration of valid key mods (possibly OR'd together). */ + typedef enum { @@ -754,12 +755,12 @@ rodeo_input_keymod_t; typedef enum { - rodeo_input_binary_mouseButton_INVALID = 0, - rodeo_input_binary_mouseButton_LEFT = 1, - rodeo_input_binary_mouseButton_MIDDLE = 2, - rodeo_input_binary_mouseButton_RIGHT = 3, - rodeo_input_binary_mouseButton_X1 = 4, - rodeo_input_binary_mouseButton_X2 = 5, + rodeo_input_binary_mouseButton_INVALID = -1, + rodeo_input_binary_mouseButton_LEFT = 1, + rodeo_input_binary_mouseButton_MIDDLE = 2, + rodeo_input_binary_mouseButton_RIGHT = 3, + rodeo_input_binary_mouseButton_X1 = 4, + rodeo_input_binary_mouseButton_X2 = 5, } rodeo_input_binary_mouseButton_t; |
