yellows8
d28776e4d9
hid: Updated/added structs/enums.
2020-12-01 13:49:52 +01:00
yellows8
902af6cce0
hid: Updated structs.
2020-12-01 13:49:52 +01:00
fincs
967a5054a3
hid: Expose InitializeNpad/TouchScreen/Keyboard/Mouse
...
- Moved hidScanInput-specific initialization code to hidScanInput
- TouchScreen/Keyboard/Mouse are now activated during hidScanInput
initialization (previously this was not done, which is technically UB)
- Removed hidDeactivateNpad (not called by retail software)
- Tweaks and adjustments to reduce code size when features are not used
2020-12-01 13:49:52 +01:00
yellows8
e4c701dc19
hid: Use _hidGetStates in hidGetSevenSixAxisSensorStates.
2020-12-01 13:49:52 +01:00
yellows8
d4c1d069f1
hid: Added hidGetKeyboardStates, which hidScanInput now uses.
...
Struct adjustments.
2020-12-01 13:49:52 +01:00
yellows8
52bf73e047
hid: Added hidGetMouseStates, which hidScanInput/etc now uses.
...
Struct adjustments.
2020-12-01 13:49:52 +01:00
yellows8
1c82758c03
hid: Added hidGetTouchScreenStates, which hidScanInput now uses.
...
Struct adjustments.
2020-12-01 13:49:51 +01:00
yellows8
e32acbeb9f
hid: Added hidGetSixAxisSensorStates.
...
Internal improvements, etc.
2020-12-01 13:49:51 +01:00
yellows8
16ff35faea
hid: Use structs for vibration/SixAxis handles.
...
Various internal improvements, andpass vibration handles by value where needed.
2020-12-01 13:49:51 +01:00
fincs
c0ef14fcaa
hid: Changed hidGetNpadStates* to return total_out directly instead of using an output var
2020-12-01 13:49:51 +01:00
fincs
0640c9da76
hid: Introduce HidNpadIdType, see details:
...
- Replaced most usages of HidControllerID with HidNpadIdType
- HidControllerID still exists for now, and the following functions
keep accepting it for compatibility with most homebrew:
- hidIsControllerConnected
- hidKeysHeld/Down/Up
- hidJoystickRead
- hidSixAxisSensorValuesRead
- hidControllerIDTo/FromOfficial renamed to ToNpadIdType/FromNpadIdType
- Updated some comments that were left untouched during previous hid refactoring
- Partial internal refactor of hidGetNpadStates*
2020-12-01 13:49:50 +01:00
fincs
40e5b08f70
Split hidGetNpadControllerColor/PowerInfo into Single/Split variants
2020-12-01 13:49:50 +01:00
yellows8
3f4f6dba44
hid: Handle NULL with hidGetNpadStates*() total_out.
...
Use const for hidSetSupportedNpadIdType().
2020-12-01 13:49:50 +01:00
yellows8
82bc8bf648
hid: Updated docs.
2020-12-01 13:49:50 +01:00
yellows8
a924fac0ab
hid: Filled in the Gc trigger fields.
2020-12-01 13:49:50 +01:00
yellows8
5aaf6905dd
hid: Docs updated.
2020-12-01 13:49:50 +01:00
yellows8
9f13045546
hid: Added support for NpadGc.
...
Struct adjustments.
2020-12-01 13:49:49 +01:00
yellows8
7340772267
hid: Internal state reading improvements.
...
Struct adjustments.
2020-12-01 13:49:49 +01:00
yellows8
21647a76c8
hid: Added support for *Lark/Lucia.
...
Struct adjustments.
2020-12-01 13:49:49 +01:00
yellows8
ce20e14034
hid: Added hidGetNpadStatesPalma.
2020-12-01 13:49:49 +01:00
yellows8
46377bc180
hid: Added handling for NpadSystem(Ext).
...
Added hidGetNpadStatesSystemExt/hidGetNpadStatesSystem, and functionality for using these in hidScanInput().
Updated a struct.
2020-12-01 13:49:49 +01:00
yellows8
db39de34c5
hid: Replaced various funcs with versions which read from sharedmem.
...
* Various struct adjustments.
* Removed HidControllerLayoutType/hidSetControllerLayout/hidGetControllerLayout, since these are no longer used.
* Added HidNpadJoyAssignmentMode and hidGetNpadJoyAssignment.
* Replaced hidGetControllerFlags with hidGetNpadSystemProperties/hidGetNpadSystemButtonProperties.
* Added hidGetAppletFooterUiAttributesSet/hidGetAppletFooterUiTypes.
* hidScanInput() now uses hidGetNpadStates*() as determined by the output from hidGetNpadStyleSet().
2020-12-01 13:49:48 +01:00
yellows8
1e3145f81d
hid: Struct adjustments.
2020-12-01 13:49:48 +01:00
yellows8
54a296bc69
hid: Updated HidSharedMemory.
2020-12-01 13:49:48 +01:00
yellows8
c3a6d29cf4
hid: Added KEY_NES_HANDHELD_LEFT_B.
2020-12-01 13:49:48 +01:00
yellows8
991a262e19
hid: Replaced HidControllerType with HidNpadStyleTag.
...
HidNpadStyleTag now includes more controllers.
Replaced hidGetControllerType with hidGetNpadStyleSet().
Improved _hidGetDeviceHandles(), more controllers are now supported.
2020-12-01 13:49:48 +01:00
yellows8
e74c605a91
hid: Fixed HidNpadInterfaceType.
2020-12-01 13:49:48 +01:00
yellows8
ddc9538b69
hid: Updated/added structs and added hidGetNpadStates*().
2020-12-01 13:49:47 +01:00
Luis Scheurenbrand
c95b46c053
news: fix structs
2020-11-18 19:16:32 +01:00
averne
2fdae0db52
Add service wrappers for ins:r and ins:s ( #502 )
2020-11-08 00:28:20 +01:00
Michael Scire
0ff42ee69e
gpio: implement majority of the service
2020-10-26 11:48:07 +01:00
yellows8
8718c145f6
lp2p: Updated docs.
2020-10-25 19:55:33 -04:00
yellows8
8a31abeea7
Added lp2p.
2020-10-25 14:00:44 -04:00
Vicki Pfau
4afec4016d
psm: Add more battery functions
2020-09-28 00:36:35 +02:00
yellows8
f01fb21da5
Added uart.
2020-09-12 18:53:30 -04:00
yellows8
ab59dfb5bb
btdrv: Updated docs for BtdrvBluetoothPropertyType_Unknown3.
2020-09-04 11:59:35 -04:00
yellows8
625616bd44
btm: Update the right struct, BtmDeviceInfoList.
2020-08-26 19:10:38 -04:00
yellows8
9febf780b1
btm: Updated BtmDevicePropertyList.
2020-08-26 19:03:55 -04:00
yellows8
cc2be8375a
btm: Updated BtmHostDeviceProperty.
2020-08-26 12:28:32 -04:00
yellows8
ac8ac4919e
set: Updated for [10.1.0+], added more cmds, use struct for nickname.
2020-08-20 23:20:10 -04:00
yellows8
797cdffb14
btdrv: Updated BtdrvBleScanResult.
2020-08-20 18:38:55 -04:00
yellows8
5820178f56
btdrv: Updated param order.
2020-08-20 18:38:55 -04:00
yellows8
89358ba98c
btdrv: Use const for btdrvWriteHidData/btdrvSetHidReport.
2020-08-20 18:38:55 -04:00
yellows8
c669589a35
bluetooth: Updated params, improved docs, etc.
2020-08-20 18:38:55 -04:00
yellows8
4fae8554f7
btdrv/btm: Updated/added various structs.
2020-08-20 18:38:55 -04:00
yellows8
4db3c621e8
set: Use BtdrvAddress.
2020-08-20 18:38:55 -04:00
yellows8
3b670bc652
btdrv: Added the remaining cmds, various fixes, and added a types .h.
2020-08-20 18:38:55 -04:00
yellows8
ab9ce7c330
btdrv: Added support for pre-4.0.0, etc.
2020-08-20 18:38:55 -04:00
yellows8
8789077bb8
btm: Added the aruid cmds.
2020-08-20 18:38:55 -04:00
yellows8
070e959609
btm: Added more cmds.
2020-08-20 18:38:55 -04:00