Commit Graph

9 Commits

Author SHA1 Message Date
Crayon
78ee1c51bc Add Nunchuk/CC emulated sticks, KPAD accelerometer data, WPAD/KPAD documentation (#114)
* Add emulated stick values for Nunchuk and Classic Controller

* Add acceleration sensor data to KPADStatus

I have also changed the posValid type from uint8_t to int8_t because the value can be negative.
A negative value means that the result validity is not really good.

* Set version to beta in the doc

* Added mask for button C and button Z on the Nunchuk

The same mask applies to WPADButton and WPADNunchukButton.

* Add doxygen comments and fix typos

Most of the comments are pretty obvious but at least it's a start.

* Fix a copy-paste error in my last commit

I have also added comments for VPADGetTPCalibrationParam and VPADSetTPCalibrationParam.

* Add documentation for all buttons
2020-01-20 17:38:29 +11:00
Maschell
697edd3b69 Add WPADInit,WPADSetAutoSleepTime and WPADDisconnect 2018-06-20 11:05:16 +01:00
James Benton
5f1b1902f6 Prefix structsize macros with WUT_ 2018-06-20 11:05:16 +01:00
James Benton
b6ea35660a Add missing doxygen comments for nsyshid 2018-06-18 11:13:52 +01:00
James Benton
83583aa80b Reformat wpad.h 2018-06-18 10:20:48 +01:00
James Benton
75038273b5 Reformat kpad.h 2018-06-18 10:20:48 +01:00
Maschell
c3c8ce30fe Modifed the kpad and wpad struct to be more like the VPADStatus struct. 2018-06-17 20:55:28 +01:00
Maschell
53c1a5f6c4 Add header files for some kpad and wpad functions 2018-06-17 20:55:28 +01:00
James Benton
9beff5dd0b Add padscore/kpad.h for a stubbed KPADStatus typedef. 2018-06-13 12:11:00 +01:00