RetroArch
Classes | Macros
input.h File Reference
#include <string.h>
#include <malloc.h>
#include <unistd.h>
#include "hid_types.h"
#include "../gamepad.h"
#include <wiiu/os.h>
#include <wiiu/syshid.h>
#include <wiiu/vpad.h>
#include <wiiu/kpad.h>
#include <wiiu/pad_strings.h>
#include "hid.h"
#include "../../input_driver.h"
#include "../../common/hid/hid_device_driver.h"
#include "../../connect/joypad_connection.h"
#include "../../../retroarch.h"
#include "../../../verbosity.h"
#include "../../../command.h"
#include "../../../gfx/video_driver.h"
#include "../../../tasks/tasks_internal.h"
Include dependency graph for input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _wiiu_pad_functions
 

Macros

#define WIIMOTE_TYPE_WIIPLUS   0x00
 
#define WIIMOTE_TYPE_NUNCHUK   0x01
 
#define WIIMOTE_TYPE_CLASSIC   0x02
 
#define WIIMOTE_TYPE_PRO   0x1f
 
#define WIIMOTE_TYPE_NONE   0xfd
 
#define WIIU_DEVICE_INDEX_TOUCHPAD   2
 
#define PAD_GAMEPAD   0
 
#define WIIU_WIIMOTE_CHANNELS   4
 
#define WIIU_ANALOG_FACTOR   0x7ff0
 
#define WIIU_READ_STICK(stick)   ((stick) * WIIU_ANALOG_FACTOR)
 

Macro Definition Documentation

◆ PAD_GAMEPAD

#define PAD_GAMEPAD   0

◆ WIIMOTE_TYPE_CLASSIC

#define WIIMOTE_TYPE_CLASSIC   0x02

◆ WIIMOTE_TYPE_NONE

#define WIIMOTE_TYPE_NONE   0xfd

◆ WIIMOTE_TYPE_NUNCHUK

#define WIIMOTE_TYPE_NUNCHUK   0x01

◆ WIIMOTE_TYPE_PRO

#define WIIMOTE_TYPE_PRO   0x1f

◆ WIIMOTE_TYPE_WIIPLUS

#define WIIMOTE_TYPE_WIIPLUS   0x00

◆ WIIU_ANALOG_FACTOR

#define WIIU_ANALOG_FACTOR   0x7ff0

◆ WIIU_DEVICE_INDEX_TOUCHPAD

#define WIIU_DEVICE_INDEX_TOUCHPAD   2

◆ WIIU_READ_STICK

#define WIIU_READ_STICK (   stick)    ((stick) * WIIU_ANALOG_FACTOR)

◆ WIIU_WIIMOTE_CHANNELS

#define WIIU_WIIMOTE_CHANNELS   4