Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
#include "xemu/emutools.h"
#include "xemu/emutools_hid.h"
#include "enterprise128.h"
#include "dave.h"
#include "ui.h"
#include "input_devices.h"
Go to the source code of this file.
Data Structures | |
struct | mouse_modes_st |
Macros | |
#define | WATCHDOG_USEC(n) (n / 64) |
#define | BUTTON_MAIN 1 |
#define | BUTTON_OTHER 2 |
#define | BUTTON_EX3 3 |
#define | BUTTON_EX4 4 |
#define | BUTTON_EX5 5 |
#define | J_COLUMN 1 |
#define | K_COLUMN 2 |
#define | LAST_MOUSE_MODE ((sizeof(mouse_modes) / sizeof(const struct mouse_modes_st)) - 1) |
#define | JOYSTICK_SCAN(num, dir) joystick_scan(num, dir) |
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) |
int | joystick_scan (int num, int dir) |
Uint8 | read_control_port_bits (void) |
void | mouse_check_data_shift (Uint8 val) |
int | mouse_setup (int cfg) |
int | emu_callback_key (int pos, SDL_Scancode key, int pressed, int handled) |
Variables | |
int | mouse_grab = 0 |
Uint32 | raster_time |
int | show_keys = 0 |
const struct KeyMappingDefault | ep128_key_map [] |
int | mouse_mode |
#define BUTTON_EX3 3 |
Definition at line 157 of file input_devices.c.
#define BUTTON_EX4 4 |
Definition at line 158 of file input_devices.c.
#define BUTTON_EX5 5 |
Definition at line 159 of file input_devices.c.
#define BUTTON_MAIN 1 |
Definition at line 155 of file input_devices.c.
#define BUTTON_OTHER 2 |
Definition at line 156 of file input_devices.c.
#define J_COLUMN 1 |
Definition at line 162 of file input_devices.c.
#define JOYSTICK_SCAN | ( | num, | |
dir | |||
) | joystick_scan(num, dir) |
Definition at line 227 of file input_devices.c.
#define K_COLUMN 2 |
Definition at line 163 of file input_devices.c.
#define LAST_MOUSE_MODE ((sizeof(mouse_modes) / sizeof(const struct mouse_modes_st)) - 1) |
Definition at line 222 of file input_devices.c.
#define WATCHDOG_USEC | ( | n | ) | (n / 64) |
Definition at line 149 of file input_devices.c.
int emu_callback_key | ( | int | pos, |
SDL_Scancode | key, | ||
int | pressed, | ||
int | handled | ||
) |
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.
int joystick_scan | ( | int | num, |
int | dir | ||
) |
Definition at line 406 of file input_devices.c.
void mouse_check_data_shift | ( | Uint8 | val | ) |
int mouse_mode_description | ( | int | cfg, |
char * | buffer | ||
) |
Definition at line 231 of file input_devices.c.
void mouse_reset | ( | void | ) |
void mouse_reset_button | ( | void | ) |
int mouse_setup | ( | int | cfg | ) |
Definition at line 500 of file input_devices.c.
Uint8 read_control_port_bits | ( | void | ) |
const struct KeyMappingDefault ep128_key_map[] |
Definition at line 42 of file input_devices.c.
int mouse_grab = 0 |
Definition at line 28 of file input_devices.c.
int mouse_mode |
Definition at line 225 of file input_devices.c.
int show_keys = 0 |
Definition at line 39 of file input_devices.c.