|
RetroArch
|
#include <pc.h>#include <dos.h>#include <go32.h>#include <dpmi.h>#include <sys/segments.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include <libretro.h>#include "../input_driver.h"#include "../input_keymaps.h"#include "../../tasks/tasks_internal.h"#include "../drivers_keyboard/keyboard_event_dos.h"Macros | |
| #define | END_FUNC(x) static void x##_End() { } |
| #define | LOCK_VAR(x) LockData((void*)&x, sizeof(x)) |
| #define | LOCK_FUNC(x) LockCode(x, (int)x##_End - (int)x) |
Functions | |
| int | LockData (void *a, int size) |
| int | LockCode (void *a, int size) |
| static void | keyb_int (void) |
| static void | hook_keyb_int (void) |
| static void | unhook_keyb_int (void) |
| static const char * | dos_joypad_name (unsigned pad) |
| static void | dos_joypad_autodetect_add (unsigned autoconf_pad) |
| static bool | dos_joypad_init (void *data) |
| static bool | dos_joypad_button (unsigned port_num, uint16_t key) |
| static void | dos_joypad_poll (void) |
| static bool | dos_joypad_query_pad (unsigned pad) |
| static int16_t | dos_joypad_axis (unsigned port_num, uint32_t joyaxis) |
| static void | dos_joypad_destroy (void) |
Variables | |
| static uint16_t | normal_keys [LAST_KEYCODE+1] |
| static _go32_dpmi_seginfo | old_kbd_int |
| static _go32_dpmi_seginfo | kbd_int |
| input_device_driver_t | dos_joypad |
|
static |
|
static |
|
static |
| int LockCode | ( | void * | a, |
| int | size | ||
| ) |
| int LockData | ( | void * | a, |
| int | size | ||
| ) |
| input_device_driver_t dos_joypad |
|
static |
|
static |
|
static |
1.8.15