- Added more enums and enum values.
- Added `padscore/wbc.h` header.
- Added more fields to KPADStatus.
- Added some more WPAD and KPAD functions.
--HG--
branch : padscore-additions-hg
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
* re-sorted and used BOOL
* Added a bit to wpad
* roll back time, name PeripheralSpace correctly, and IsMplsAttached use correct callback
* name WPADPeripheralSpace correctly again
* Add WPADIsMplsIntegrated, correct description of WPADIsMplsAttached
* Add KPADEnableMpls(), KPADDisableMpls() and KPADMplsMode enum
* Spellings, comments and formatting
* Use enum type for KPADEnableMpls param
* Add more WPADDataFormat entries (taken from Cemu)
* Add WPADiQueue and some WPADi functions
* Add WPADGetInfo, WPADGetInfoAsync, and WPADInfo struct (taken from Cemu)
* Add a bunch of game data functions and the rest of the WPADiSend functions
* Add WPADSpeakerMode and speaker functions
* Enum member changes
* Add KPADEnable/DisableDPD, add mpls status functions, typedef KPADMplsMode to WPADMplsMode
* Update WPADSpeakerMode, add WPADGetSpeakerVolume, WPADSetSpeakerVolume
* Add WPADAddress and WPADGetAddress
* WPADIsEnabledURC, WPADEnableWBC, WPADIsEnableWBC
* Add sync functions, update WPADAddress
- Add WPADStartSyncDevice
- Add WPADStartSyncDeviceEx
- Change variable name
* Update WPADExtensionType
- Add WPAD_EXT_DEV_NOT_FOUND
* Update WPADExtensionType and WPADExtensionCallback, add WPADGetDpdFormat
- Add WPAD_EXT_DEV_NOT_FOUND
- Add WPAD_EXT_UNKNOWN
- WPADExtensionType as param to WPADExtensionCallback
* Add PowerSave functions
* Changes:
- More documentation
- More members to WPADMplsMode
- WPADLed as bitmask
* Slight corrections:
- WPADControlLed returns int32
- WPADiHIDParser returns int32
- WPADStartSyncDevice comments fixed
* WPADControlSpeakerMode -> WPADControlSpeaker
* More appropriate enum names
* More info on speaker
* typedef WPADAddress, char16_t -> uint16_t, comment updates
* Update WPADStartSyncDeviceEx comments
* 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