Reformat vpad/input.h

This commit is contained in:
James Benton 2018-06-18 10:05:02 +01:00
parent 83583aa80b
commit e65cb2304b

View File

@ -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