RetroArch
|
Macros | |
#define | WPAD_EXP_SICKSAXIS 252 |
#define | WPAD_EXP_GAMECUBE 253 |
#define | WPAD_EXP_NOCONTROLLER 254 |
#define | NUM_DEVICES 1 |
#define | MAX_PADS 4 |
#define | GC_JOYSTICK_THRESHOLD (48 * 256) |
#define | WII_JOYSTICK_THRESHOLD (40 * 256) |
Enumerations | |
enum | { GX_GC_A = 0, GX_GC_B = 1, GX_GC_X = 2, GX_GC_Y = 3, GX_GC_START = 4, GX_GC_HOME = 5, GX_GC_Z_TRIGGER = 6, GX_GC_L_TRIGGER = 7, GX_GC_R_TRIGGER = 8, GX_GC_UP = 9, GX_GC_DOWN = 10, GX_GC_LEFT = 11, GX_GC_RIGHT = 12, GX_QUIT_KEY = 62 } |
Functions | |
static void | reset_cb (void) |
static const char * | gx_joypad_name (unsigned pad) |
static void | handle_hotplug (unsigned port, uint32_t ptype) |
static bool | gx_joypad_button (unsigned port, uint16_t key) |
static void | gx_joypad_get_buttons (unsigned port, input_bits_t *state) |
static int16_t | gx_joypad_axis (unsigned port, uint32_t joyaxis) |
static void | gx_joypad_poll (void) |
static bool | gx_joypad_init (void *data) |
static bool | gx_joypad_query_pad (unsigned pad) |
static void | gx_joypad_destroy (void) |
Variables | |
uint64_t | lifecycle_state |
static uint64_t | pad_state [MAX_PADS] |
static uint32_t | pad_type [MAX_PADS] = { WPAD_EXP_NOCONTROLLER, WPAD_EXP_NOCONTROLLER, WPAD_EXP_NOCONTROLLER, WPAD_EXP_NOCONTROLLER } |
static int16_t | analog_state [MAX_PADS][2][2] |
static bool | g_menu = false |
input_device_driver_t | gx_joypad |
#define GC_JOYSTICK_THRESHOLD (48 * 256) |
#define MAX_PADS 4 |
#define NUM_DEVICES 1 |
#define WII_JOYSTICK_THRESHOLD (40 * 256) |
#define WPAD_EXP_GAMECUBE 253 |
#define WPAD_EXP_NOCONTROLLER 254 |
#define WPAD_EXP_SICKSAXIS 252 |
anonymous enum |
|
static |
|
static |
|
static |
input_device_driver_t gx_joypad |
uint64_t lifecycle_state |
|
static |