* - Fix select() to also update the fd_set arguments on timeout condition.
- Move the nfds argument restriction to the nsysnet side.
- Allow user-defined FD_SETSIZE, since newlib's fd_set allow custom sizes.
- Define __socklen_t_defined when socklen_t is typedefed.
* Added safety check for poll(): the nsysnet fd must fit in nsysnet_fd_set.
---------
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
- 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>
These functions were pointing to the `Server` implementation, and not
the `ServerPrivate` one. Fix the typo using the correct `ServerPrivate`
export instead.
* More DRX definitions
Changed DRH state names, notably:
UNK0-> NORADIO
UNK1-> WII
UNK2-> [not renamed]
UNK3-> NODRC
UNK7F-> [not renamed]
DRC EEPROM now defined as data instead of being unknown.
More info yet to be added.
* Unneeded comment removed
* 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