17 #ifndef __WIIU_INPUT__H 18 #define __WIIU_INPUT__H 25 #include "../gamepad.h" 34 #include "../../input_driver.h" 35 #include "../../common/hid/hid_device_driver.h" 36 #include "../../connect/joypad_connection.h" 37 #include "../../../retroarch.h" 38 #include "../../../verbosity.h" 39 #include "../../../command.h" 42 #include "../../../config.h" 45 #include "../../../gfx/video_driver.h" 46 #include "../../../tasks/tasks_internal.h" 48 #define WIIMOTE_TYPE_WIIPLUS 0x00 49 #define WIIMOTE_TYPE_NUNCHUK 0x01 50 #define WIIMOTE_TYPE_CLASSIC 0x02 51 #define WIIMOTE_TYPE_PRO 0x1f 52 #define WIIMOTE_TYPE_NONE 0xfd 54 #define WIIU_DEVICE_INDEX_TOUCHPAD 2 57 #define WIIU_WIIMOTE_CHANNELS 4 59 #define WIIU_ANALOG_FACTOR 0x7ff0 60 #define WIIU_READ_STICK(stick) ((stick) * WIIU_ANALOG_FACTOR)
void(* set_axis_value)(int16_t state[3][2], int16_t left_x, int16_t left_y, int16_t right_x, int16_t right_y, int16_t touch_x, int16_t touch_y)
Definition: input.h:64
void(* read_axis_data)(uint32_t axis, axis_data *data)
Definition: input.h:66
int16_t(* get_axis_value)(int32_t axis, int16_t state[3][2], bool is_negative)
Definition: input.h:63
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:6303
signed short int16_t
Definition: stdint.h:122
static uint64_t state[MAX_PADS]
Definition: xenon360_input.c:33
signed int int32_t
Definition: stdint.h:123
Definition: input_driver.h:170
void(* connect)(unsigned pad, input_device_driver_t *driver)
Definition: input.h:67
unsigned int uint32_t
Definition: stdint.h:126