RetroArch
|
#include "../../include/wiiu/input.h"
Classes | |
struct | _wiimote_state |
Macros | |
#define | WIIU_PRO_BUTTON_MASK 0x3FC0000; |
#define | CLASSIC_BUTTON_MASK 0xFF0000; |
Typedefs | |
typedef struct _wiimote_state | wiimote_state |
Functions | |
static bool | kpad_init (void *data) |
static bool | kpad_query_pad (unsigned pad) |
static void | kpad_destroy (void) |
static bool | kpad_button (unsigned pad, uint16_t button) |
static void | kpad_get_buttons (unsigned pad, input_bits_t *state) |
static int16_t | kpad_axis (unsigned pad, uint32_t axis) |
static void | kpad_poll (void) |
static const char * | kpad_name (unsigned pad) |
static void | kpad_deregister (unsigned channel) |
static int | to_wiimote_channel (unsigned pad) |
static int | get_slot_for_channel (unsigned channel) |
static void | kpad_register (unsigned channel, uint8_t device_type) |
static void | kpad_poll_one_channel (unsigned channel, KPADData *kpad) |
Variables | |
static bool | ready = false |
wiimote_state | wiimotes [WIIU_WIIMOTE_CHANNELS] |
static int | channel_slot_map [] = { -1, -1, -1, -1 } |
static int | poll_failures [WIIU_WIIMOTE_CHANNELS] = { 0, 0, 0, 0 } |
input_device_driver_t | kpad_driver |
#define CLASSIC_BUTTON_MASK 0xFF0000; |
#define WIIU_PRO_BUTTON_MASK 0x3FC0000; |
typedef struct _wiimote_state wiimote_state |
|
static |
|
static |
|
static |
This sub-driver handles the wiimotes. The Wii U has 4 channels available. This also handles wiimote attachments such as the nunchuk and classic/pro controllers.
|
static |
|
static |
|
static |
|
static |
input_device_driver_t kpad_driver |
|
static |
wiimote_state wiimotes[WIIU_WIIMOTE_CHANNELS] |