mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 05:40:45 +01:00
Reformat vpad/input.h
This commit is contained in:
parent
83583aa80b
commit
e65cb2304b
@ -49,6 +49,11 @@ typedef enum VPADButtons
|
|||||||
VPAD_STICK_L_EMULATION_DOWN = 0x08000000,
|
VPAD_STICK_L_EMULATION_DOWN = 0x08000000,
|
||||||
} VPADButtons;
|
} VPADButtons;
|
||||||
|
|
||||||
|
typedef enum VPADChan
|
||||||
|
{
|
||||||
|
VPAD_CHAN_0 = 0,
|
||||||
|
} VPADChan;
|
||||||
|
|
||||||
typedef enum VPADTouchPadValidity
|
typedef enum VPADTouchPadValidity
|
||||||
{
|
{
|
||||||
//! Both X and Y touchpad positions are accurate
|
//! Both X and Y touchpad positions are accurate
|
||||||
@ -61,7 +66,6 @@ typedef enum VPADTouchPadValidity
|
|||||||
VPAD_INVALID_Y = 0x2,
|
VPAD_INVALID_Y = 0x2,
|
||||||
} VPADTouchPadValidity;
|
} VPADTouchPadValidity;
|
||||||
|
|
||||||
|
|
||||||
typedef enum VPADReadError
|
typedef enum VPADReadError
|
||||||
{
|
{
|
||||||
VPAD_READ_SUCCESS = 0,
|
VPAD_READ_SUCCESS = 0,
|
||||||
@ -207,21 +211,21 @@ void
|
|||||||
VPADShutdown();
|
VPADShutdown();
|
||||||
|
|
||||||
int32_t
|
int32_t
|
||||||
VPADRead(uint32_t chan,
|
VPADRead(VPADChan chan,
|
||||||
VPADStatus *buffers,
|
VPADStatus *buffers,
|
||||||
uint32_t count,
|
uint32_t count,
|
||||||
VPADReadError *error);
|
VPADReadError *error);
|
||||||
|
|
||||||
void
|
void
|
||||||
VPADGetTPCalibratedPoint(uint32_t chan,
|
VPADGetTPCalibratedPoint(VPADChan chan,
|
||||||
VPADTouchData *calibratedData,
|
VPADTouchData *calibratedData,
|
||||||
VPADTouchData *uncalibratedData);
|
VPADTouchData *uncalibratedData);
|
||||||
|
|
||||||
int32_t
|
int32_t
|
||||||
VPADBASEGetMotorOnRemainingCount(uint32_t chan);
|
VPADBASEGetMotorOnRemainingCount(VPADChan chan);
|
||||||
|
|
||||||
int32_t
|
int32_t
|
||||||
VPADBASESetMotorOnRemainingCount(uint32_t chan,
|
VPADBASESetMotorOnRemainingCount(VPADChan chan,
|
||||||
int32_t counter);
|
int32_t counter);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user