Commit Graph

12 Commits

Author SHA1 Message Date
Crayon2000
12aa7ca300 Replace BOOL by s32
This is for issue #18.
2017-10-02 22:50:17 -04:00
Crayon2000
e23b86ad87 Add VPADBASESetSensorBarSetting and VPADBASEGetSensorBarSetting
If the second parameter (setting) is set to 1, the sensor bar from the Wii U GamePad will be enabled.
Any other values will disable it.

Thanks to QuarkTheAwesome for mentioning this on Twitter :)
2017-09-27 22:55:56 -04:00
Crayon2000
9eca181bde Add more vpad functions 2017-09-20 09:15:19 -04:00
Crayon2000
c546e2b8ce Add VPADCalcTPCalibrationParam function 2017-05-07 23:36:18 -04:00
Crayon2000
bd0862328b Add vpad functions and fill VPADData struct
Added VPADSetTPCalibrationParam, VPADGetTPCalibrationParam, VPADGetTPCalibratedPoint and VPADGetTPCalibratedPointEx.
The VPADData struct is filled completely, no unknown sections are left.
2017-05-07 15:54:50 -04:00
Crayon2000
d38ffbfda6 Use u8 instead of uint8_t in the VPADData struct
This is to be more consistent with other data in the VPADData struct.
2017-04-29 21:42:36 -04:00
Crayon2000
628bff0145 Add support for vpad gyro and angle
gyro.x = Rotation speed around X (horizontal) axis
gyro.y = Rotation speed around Y (depth) axis
gyro.z = Rotation speed around Z (vertical) axis

angle.x = Rotation around X (horizontal) axis
angle.y = Rotation around Y (depth) axis
angle.z = Rotation around Z (vertical) axis
2017-04-27 23:56:23 -04:00
Crayon2000
a998a74972 Fix include problem
gctypes.h needs to be included before using u32 type.
2017-04-22 01:08:35 -04:00
Maschell
a136b12c52 Using u32 and s32 only instead of (unsigned) int to be more consistent with data types 2017-04-10 11:04:06 +02:00
Maschell
5e01fb7d3f Added WPAD and socket functions 2017-03-30 17:51:11 +02:00
Maschell
befce1016a Added recvfrom and own VPAD defines 2016-09-23 14:34:35 +02:00
Maschell
1fcfb43f39 First commit 2016-04-25 20:33:48 +02:00