Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
#include <xemu/emutools_hid.h>
Go to the source code of this file.
Macros | |
#define | JOY_SCAN_FIRE1 0 |
#define | JOY_SCAN_UP 1 |
#define | JOY_SCAN_DOWN 2 |
#define | JOY_SCAN_LEFT 3 |
#define | JOY_SCAN_RIGHT 4 |
#define | JOY_SCAN_FIRE2 5 |
#define | JOY_SCAN_FIRE3 6 |
#define | VIRTUAL_SHIFT_POS 0x07 |
Functions | |
int | mouse_mode_description (int cfg, char *buffer) |
void | mouse_reset_button (void) |
void | emu_mouse_button (Uint8 sdl_button, int press) |
void | emu_mouse_motion (int dx, int dy) |
void | emu_mouse_wheel (int x, int y, int flipped) |
void | mouse_reset (void) |
Uint8 | read_control_port_bits (void) |
void | mouse_check_data_shift (Uint8 val) |
int | mouse_setup (int cfg) |
int | emu_kbd (SDL_Keysym sym, int press) |
Variables | |
const struct KeyMappingDefault | ep128_key_map [] |
int | mouse_grab |
int | show_keys |
int | mouse_mode |
#define JOY_SCAN_DOWN 2 |
Definition at line 26 of file input_devices.h.
#define JOY_SCAN_FIRE1 0 |
Definition at line 24 of file input_devices.h.
#define JOY_SCAN_FIRE2 5 |
Definition at line 29 of file input_devices.h.
#define JOY_SCAN_FIRE3 6 |
Definition at line 30 of file input_devices.h.
#define JOY_SCAN_LEFT 3 |
Definition at line 27 of file input_devices.h.
#define JOY_SCAN_RIGHT 4 |
Definition at line 28 of file input_devices.h.
#define JOY_SCAN_UP 1 |
Definition at line 25 of file input_devices.h.
#define VIRTUAL_SHIFT_POS 0x07 |
Definition at line 32 of file input_devices.h.
void emu_mouse_button | ( | Uint8 | sdl_button, |
int | press | ||
) |
Definition at line 274 of file input_devices.c.
void emu_mouse_motion | ( | int | dx, |
int | dy | ||
) |
Definition at line 343 of file input_devices.c.
void emu_mouse_wheel | ( | int | x, |
int | y, | ||
int | flipped | ||
) |
Definition at line 360 of file input_devices.c.
void mouse_check_data_shift | ( | Uint8 | val | ) |
Definition at line 463 of file input_devices.c.
int mouse_mode_description | ( | int | cfg, |
char * | buffer | ||
) |
Definition at line 231 of file input_devices.c.
void mouse_reset | ( | void | ) |
Definition at line 378 of file input_devices.c.
void mouse_reset_button | ( | void | ) |
Definition at line 255 of file input_devices.c.
int mouse_setup | ( | int | cfg | ) |
Definition at line 500 of file input_devices.c.
Uint8 read_control_port_bits | ( | void | ) |
Definition at line 416 of file input_devices.c.
const struct KeyMappingDefault ep128_key_map[] |
Definition at line 42 of file input_devices.c.
int mouse_grab |
Definition at line 28 of file input_devices.c.
int mouse_mode |
Definition at line 36 of file input_devices.h.
int show_keys |
Definition at line 36 of file input_devices.h.