summaryrefslogtreecommitdiffhomepage
path: root/src/input.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-06-17 02:44:51 -0400
committerrealtradam <[email protected]>2023-06-17 02:44:51 -0400
commitc42aa675696463f7cd30b331af9d32ae7afcbd56 (patch)
tree6450a42cd095767cc1130670595bebaada5fe2df /src/input.h
parentaca04016f134829a2f3b6745c26318f3d947dc6d (diff)
downloadrodeo_sample_game-c42aa675696463f7cd30b331af9d32ae7afcbd56.tar.gz
rodeo_sample_game-c42aa675696463f7cd30b331af9d32ae7afcbd56.zip
wip rotation
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h
index c89d4cd..fae1d81 100644
--- a/src/input.h
+++ b/src/input.h
@@ -11,6 +11,8 @@ struct
rodeo_input_command_t right;
rodeo_input_command_t up;
rodeo_input_command_t down;
+ rodeo_input_command_t mouse_x;
+ rodeo_input_command_t mouse_y;
rodeo_input_command_t play_sound;
rodeo_input_command_t play_sound2;
rodeo_input_command_t play_sound3;
@@ -73,6 +75,18 @@ play_sound_input3(
void *data
);
+void*
+mouse_x_input(
+ rodeo_input_any_state_t *input_state,
+ void *data
+);
+
+void*
+mouse_y_input(
+ rodeo_input_any_state_t *input_state,
+ void *data
+);
+
void
register_inputs(void);