Go to the source code of this file.
|
void | hid_set_autoreleased_key (int key) |
|
int | hid_key_event (SDL_Scancode key, int pressed) |
|
void | hid_sdl_synth_key_event (int matrix_pos, int is_press) |
|
void | hid_reset_events (int burn) |
|
void | hid_init (const struct KeyMappingDefault *key_map_in, Uint8 virtual_shift_pos_in, int joy_enable) |
|
void | hid_mouse_motion_event (int xrel, int yrel) |
|
void | hid_mouse_button_event (int button, int pressed) |
|
void | hid_joystick_device_event (int which, int is_attach) |
|
void | hid_joystick_motion_event (int is_vertical, int value) |
|
void | hid_joystick_button_event (int pressed) |
|
void | hid_joystick_hat_event (int value) |
|
int | hid_read_joystick_up (int on, int off) |
|
int | hid_read_joystick_down (int on, int off) |
|
int | hid_read_joystick_left (int on, int off) |
|
int | hid_read_joystick_right (int on, int off) |
|
int | hid_read_joystick_button (int on, int off) |
|
int | hid_read_mouse_rel_x (int min, int max) |
|
int | hid_read_mouse_rel_y (int min, int max) |
|
int | hid_read_mouse_button_left (int on, int off) |
|
int | hid_read_mouse_button_right (int on, int off) |
|
int | hid_handle_one_sdl_event (SDL_Event *event) |
|
void | hid_handle_all_sdl_events (void) |
|
void | hid_register_sdl_keyboard_event_callback (const unsigned int level, hid_sdl_keyboard_event_callback_t cb) |
|
void | hid_register_sdl_textediting_event_callback (const unsigned int level, hid_sdl_textediting_event_callback_t cb) |
|
void | hid_register_sdl_textinput_event_callback (const unsigned int level, hid_sdl_textinput_event_callback_t cb) |
|
◆ HID_MAX_CUSTOM_CALLBACKS
#define HID_MAX_CUSTOM_CALLBACKS 3 |
◆ JOYSTATE_BUTTON
#define JOYSTATE_BUTTON 16 |
◆ JOYSTATE_DOWN
◆ JOYSTATE_LEFT
◆ JOYSTATE_RIGHT
◆ JOYSTATE_UP
◆ MAX_JOYSTICKS
◆ MOUSESTATE_BUTTON_LEFT
#define MOUSESTATE_BUTTON_LEFT 32 |
◆ MOUSESTATE_BUTTON_RIGHT
#define MOUSESTATE_BUTTON_RIGHT 64 |
◆ TRY_CUSTOM_CALLBACKS
#define TRY_CUSTOM_CALLBACKS |
( |
|
cbs, |
|
|
|
par |
|
) |
| |
Value: do { \
if (cbs[i] && !cbs[i](par)) \
goto give_up; \
} while(0)
Definition at line 521 of file emutools_hid.c.
◆ hid_handle_all_sdl_events()
void hid_handle_all_sdl_events |
( |
void |
| ) |
|
◆ hid_handle_one_sdl_event()
int hid_handle_one_sdl_event |
( |
SDL_Event * |
event | ) |
|
◆ hid_init()
◆ hid_joystick_button_event()
void hid_joystick_button_event |
( |
int |
pressed | ) |
|
◆ hid_joystick_device_event()
void hid_joystick_device_event |
( |
int |
which, |
|
|
int |
is_attach |
|
) |
| |
◆ hid_joystick_hat_event()
void hid_joystick_hat_event |
( |
int |
value | ) |
|
◆ hid_joystick_motion_event()
void hid_joystick_motion_event |
( |
int |
is_vertical, |
|
|
int |
value |
|
) |
| |
◆ hid_key_event()
int hid_key_event |
( |
SDL_Scancode |
key, |
|
|
int |
pressed |
|
) |
| |
◆ hid_mouse_button_event()
void hid_mouse_button_event |
( |
int |
button, |
|
|
int |
pressed |
|
) |
| |
◆ hid_mouse_motion_event()
void hid_mouse_motion_event |
( |
int |
xrel, |
|
|
int |
yrel |
|
) |
| |
◆ hid_read_joystick_button()
int hid_read_joystick_button |
( |
int |
on, |
|
|
int |
off |
|
) |
| |
◆ hid_read_joystick_down()
int hid_read_joystick_down |
( |
int |
on, |
|
|
int |
off |
|
) |
| |
◆ hid_read_joystick_left()
int hid_read_joystick_left |
( |
int |
on, |
|
|
int |
off |
|
) |
| |
◆ hid_read_joystick_right()
int hid_read_joystick_right |
( |
int |
on, |
|
|
int |
off |
|
) |
| |
◆ hid_read_joystick_up()
int hid_read_joystick_up |
( |
int |
on, |
|
|
int |
off |
|
) |
| |
◆ hid_read_mouse_button_left()
int hid_read_mouse_button_left |
( |
int |
on, |
|
|
int |
off |
|
) |
| |
◆ hid_read_mouse_button_right()
int hid_read_mouse_button_right |
( |
int |
on, |
|
|
int |
off |
|
) |
| |
◆ hid_read_mouse_rel_x()
int hid_read_mouse_rel_x |
( |
int |
min, |
|
|
int |
max |
|
) |
| |
◆ hid_read_mouse_rel_y()
int hid_read_mouse_rel_y |
( |
int |
min, |
|
|
int |
max |
|
) |
| |
◆ hid_register_sdl_keyboard_event_callback()
◆ hid_register_sdl_textediting_event_callback()
◆ hid_register_sdl_textinput_event_callback()
◆ hid_reset_events()
void hid_reset_events |
( |
int |
burn | ) |
|
◆ hid_sdl_synth_key_event()
void hid_sdl_synth_key_event |
( |
int |
matrix_pos, |
|
|
int |
is_press |
|
) |
| |
◆ hid_set_autoreleased_key()
void hid_set_autoreleased_key |
( |
int |
key | ) |
|
◆ hid_joy_on_cursor_keys
int hid_joy_on_cursor_keys = 0 |
◆ hid_show_osd_keys
int hid_show_osd_keys = 0 |
◆ kbd_matrix