Go to the source code of this file.
|
int | emu_callback_key (int pos, SDL_Scancode key, int pressed, int handled) |
|
void | emu_dropfile_callback (const char *fn) |
|
void | emu_quit_callback (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) |
|
void | hid_sdl_synth_key_event (int matrix_pos, int is_press) |
|
void | hid_set_autoreleased_key (int key) |
|
int | hid_key_event (SDL_Scancode key, int pressed) |
|
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_button_left (int on, int off) |
|
int | hid_read_mouse_button_right (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_handle_one_sdl_event (SDL_Event *event) |
|
void | hid_handle_all_sdl_events (void) |
|
◆ HID_CB_LEVEL_CONSOLE
#define HID_CB_LEVEL_CONSOLE 1 |
◆ HID_CB_LEVEL_CORE
#define HID_CB_LEVEL_CORE 0 |
◆ HID_CB_LEVEL_EMU
#define HID_CB_LEVEL_EMU 2 |
◆ KBD_CLEAR_MATRIX
◆ KBD_PRESS_KEY
#define KBD_PRESS_KEY |
( |
|
a | ) |
kbd_matrix[(a) >> 4] &= ~(1 << ((a) & 0x7)) |
◆ KBD_RELEASE_KEY
#define KBD_RELEASE_KEY |
( |
|
a | ) |
kbd_matrix[(a) >> 4] |= 1 << ((a) & 0x7) |
◆ KBD_SET_KEY
#define KBD_SET_KEY |
( |
|
a, |
|
|
|
state |
|
) |
| |
Value: do { \
if (state) \
} while (0)
Definition at line 48 of file emutools_hid.h.
◆ STD_XEMU_SPECIAL_KEYS
#define STD_XEMU_SPECIAL_KEYS |
◆ XEMU_EVENT_EXIT
#define XEMU_EVENT_EXIT 0x100 |
◆ XEMU_EVENT_FAKE_JOY_DOWN
#define XEMU_EVENT_FAKE_JOY_DOWN 0x102 |
◆ XEMU_EVENT_FAKE_JOY_FIRE
#define XEMU_EVENT_FAKE_JOY_FIRE 0x105 |
◆ XEMU_EVENT_FAKE_JOY_LEFT
#define XEMU_EVENT_FAKE_JOY_LEFT 0x103 |
◆ XEMU_EVENT_FAKE_JOY_RIGHT
#define XEMU_EVENT_FAKE_JOY_RIGHT 0x104 |
◆ XEMU_EVENT_FAKE_JOY_UP
#define XEMU_EVENT_FAKE_JOY_UP 0x101 |
◆ XEMU_EVENT_TOGGLE_FULLSCREEN
#define XEMU_EVENT_TOGGLE_FULLSCREEN 0x106 |
◆ hid_sdl_keyboard_event_callback_t
typedef int(* hid_sdl_keyboard_event_callback_t) (SDL_KeyboardEvent *) |
◆ hid_sdl_textediting_event_callback_t
typedef int(* hid_sdl_textediting_event_callback_t) (SDL_TextEditingEvent *) |
◆ hid_sdl_textinput_event_callback_t
typedef int(* hid_sdl_textinput_event_callback_t) (SDL_TextInputEvent *) |
◆ emu_callback_key()
int emu_callback_key |
( |
int |
pos, |
|
|
SDL_Scancode |
key, |
|
|
int |
pressed, |
|
|
int |
handled |
|
) |
| |
◆ emu_dropfile_callback()
void emu_dropfile_callback |
( |
const char * |
fn | ) |
|
◆ emu_quit_callback()
void emu_quit_callback |
( |
void |
| ) |
|
◆ 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 |
◆ hid_mouse_enabled
◆ hid_show_osd_keys
◆ kbd_matrix