summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo/input.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-04-24 02:27:18 -0400
committerrealtradam <[email protected]>2023-04-24 02:27:18 -0400
commit92b561030f7f713fc4e2893de05fdc7a06c8a139 (patch)
treee48f6719d839f12e4a11281d0c29cef25e21b747 /include/rodeo/input.h
parentcb3c2a69576168a3193151f14d6c1f4aeaa30e0b (diff)
downloadRodeoKit-92b561030f7f713fc4e2893de05fdc7a06c8a139.tar.gz
RodeoKit-92b561030f7f713fc4e2893de05fdc7a06c8a139.zip
added positional inputs to input system
Diffstat (limited to 'include/rodeo/input.h')
-rw-r--r--include/rodeo/input.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rodeo/input.h b/include/rodeo/input.h
index 5c7cb1c..41a7849 100644
--- a/include/rodeo/input.h
+++ b/include/rodeo/input.h
@@ -45,6 +45,12 @@ rodeo_input_command_register_binary_mouseButton(
rodeo_input_binary_mouseButton_t mouse_button
);
+bool
+rodeo_input_command_register_positional_mouse(
+ rodeo_input_command_t *input_command,
+ rodeo_input_positional_mouse_t mouse_position
+);
+
// alternative proposed "general" registration methods
//rodeo_input_command_register_binary(cmd, rodeo_input_binary_Scancode, rodeo_input_binary_scancode_Q );
//rodeo_input_command_register_any(cmd, rodeo_input_type_Binary, rodeo_input_binary_Scancode, rodeo_input_binary_scancode_Q );