Mercurial > repos > blastem
comparison bindings.h @ 2314:59fd8aa352e2
Apply binding changes after a config change in UI
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 30 Mar 2023 23:20:12 -0700 |
parents | 0c723b8b637c |
children | e836cf11783b |
comparison
equal
deleted
inserted
replaced
2313:ef5dc4d02d27 | 2314:59fd8aa352e2 |
---|---|
8 MOUSE_RELATIVE, //for full screen | 8 MOUSE_RELATIVE, //for full screen |
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 update_pad_bindings(void); | |
13 void bindings_set_mouse_mode(uint8_t mode); | 14 void bindings_set_mouse_mode(uint8_t mode); |
14 tern_node *get_binding_node_for_pad(int padnum); | 15 tern_node *get_binding_node_for_pad(int padnum); |
15 void handle_keydown(int keycode, uint8_t scancode); | 16 void handle_keydown(int keycode, uint8_t scancode); |
16 void handle_keyup(int keycode, uint8_t scancode); | 17 void handle_keyup(int keycode, uint8_t scancode); |
17 void handle_joydown(int joystick, int button); | 18 void handle_joydown(int joystick, int button); |