From 6d58c7ab983e6c2345794ee7bde8dc698cf06f0e Mon Sep 17 00:00:00 2001 From: realtradam Date: Tue, 25 Apr 2023 19:47:21 -0400 Subject: update readme + remove unused structs --- include/rodeo/input_t.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'include') 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; -- cgit v1.2.3