Mercurial > repos > blastem
comparison bindings.h @ 1623:18a946ec74c8
Pull current controller config in binding UI from whatever the actual binding code would end up using
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 24 Oct 2018 21:10:12 -0700 |
parents | 430dd12e4010 |
children | 12d0c7c4ad80 |
comparison
equal
deleted
inserted
replaced
1622:4bb2c8b78b4a | 1623:18a946ec74c8 |
---|---|
9 MOUSE_CAPTURE //for windowed mode | 9 MOUSE_CAPTURE //for windowed mode |
10 } mouse_modes; | 10 } mouse_modes; |
11 | 11 |
12 void set_bindings(void); | 12 void set_bindings(void); |
13 void bindings_set_mouse_mode(uint8_t mode); | 13 void bindings_set_mouse_mode(uint8_t mode); |
14 tern_node *get_binding_node_for_pad(int padnum); | |
14 void handle_keydown(int keycode, uint8_t scancode); | 15 void handle_keydown(int keycode, uint8_t scancode); |
15 void handle_keyup(int keycode, uint8_t scancode); | 16 void handle_keyup(int keycode, uint8_t scancode); |
16 void handle_joydown(int joystick, int button); | 17 void handle_joydown(int joystick, int button); |
17 void handle_joyup(int joystick, int button); | 18 void handle_joyup(int joystick, int button); |
18 void handle_joy_dpad(int joystick, int dpad, uint8_t state); | 19 void handle_joy_dpad(int joystick, int dpad, uint8_t state); |