mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 11:20:42 +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,
|
||||
} VPADButtons;
|
||||
|
||||
typedef enum VPADChan
|
||||
{
|
||||
VPAD_CHAN_0 = 0,
|
||||
} VPADChan;
|
||||
|
||||
typedef enum VPADTouchPadValidity
|
||||
{
|
||||
//! Both X and Y touchpad positions are accurate
|
||||
@ -61,7 +66,6 @@ typedef enum VPADTouchPadValidity
|
||||
VPAD_INVALID_Y = 0x2,
|
||||
} VPADTouchPadValidity;
|
||||
|
||||
|
||||
typedef enum VPADReadError
|
||||
{
|
||||
VPAD_READ_SUCCESS = 0,
|
||||
@ -207,21 +211,21 @@ void
|
||||
VPADShutdown();
|
||||
|
||||
int32_t
|
||||
VPADRead(uint32_t chan,
|
||||
VPADRead(VPADChan chan,
|
||||
VPADStatus *buffers,
|
||||
uint32_t count,
|
||||
VPADReadError *error);
|
||||
|
||||
void
|
||||
VPADGetTPCalibratedPoint(uint32_t chan,
|
||||
VPADGetTPCalibratedPoint(VPADChan chan,
|
||||
VPADTouchData *calibratedData,
|
||||
VPADTouchData *uncalibratedData);
|
||||
|
||||
int32_t
|
||||
VPADBASEGetMotorOnRemainingCount(uint32_t chan);
|
||||
VPADBASEGetMotorOnRemainingCount(VPADChan chan);
|
||||
|
||||
int32_t
|
||||
VPADBASESetMotorOnRemainingCount(uint32_t chan,
|
||||
VPADBASESetMotorOnRemainingCount(VPADChan chan,
|
||||
int32_t counter);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user