HID services: Difference between revisions
No edit summary |
|||
Line 7,568: | Line 7,568: | ||
| [14.0.0+] 29 || || || || Nintendo, USB PID 0x201F | | [14.0.0+] 29 || || || || Nintendo, USB PID 0x201F | ||
|- | |- | ||
| [14.0.0+] 30 || || | | [14.0.0+] 30 || FullKey || FullKeyController || || | ||
|} | |} | ||
Line 8,663: | Line 8,663: | ||
This is an UTF-8 NUL-terminated name string. | This is an UTF-8 NUL-terminated name string. | ||
= AssignmentStyle = | |||
This is "nn::hidtypes::AssignmentStyle". This is a 32-bit flag. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Bit | |||
! Description | |||
|- | |||
| 0 | |||
| IsDualAssigned | |||
|- | |||
| 1 | |||
| IsLeftDualAssigned | |||
|- | |||
| 2 | |||
| IsRightDualAssigned | |||
|- | |||
| 3 | |||
| IsHandheldDualAssigned | |||
|- | |||
| 4 | |||
| IsLeftHandheldDualAssigned | |||
|- | |||
| 5 | |||
| IsRightHandheldDualAssigned | |||
|} | |||
= FeatureType = | |||
This is "nn::hidtypes::FeatureType". This is a 64-bit flag. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Bit | |||
! Description | |||
|- | |||
| 0 | |||
| HasLeftAnalogStick | |||
|- | |||
| 1 | |||
| HasRightAnalogStick | |||
|- | |||
| 2 | |||
| HasSixAxisSensor0 | |||
|- | |||
| 3 | |||
| HasSixAxisSensor1 | |||
|- | |||
| 4 | |||
| HasSixAxisSensor2 | |||
|- | |||
| 5 | |||
| HasLeftLraVibrationDevice | |||
|- | |||
| 6 | |||
| HasRightLraVibrationDevice | |||
|- | |||
| 7 | |||
| HasGcVibrationDevice | |||
|- | |||
| 8 | |||
| HasErmVibrationDevice | |||
|- | |||
| 9 | |||
| HasLeftJoyRailBus | |||
|- | |||
| 10 | |||
| HasRightJoyRailBus | |||
|- | |||
| 11 | |||
| HasInternalBus | |||
|- | |||
| 12 | |||
| | |||
|- | |||
| 13 | |||
| HasNfc | |||
|- | |||
| 14 | |||
| HasIrSensor | |||
|- | |||
| 15 | |||
| IsAnalogStickCalibrationSupported | |||
|- | |||
| 16 | |||
| IsSixAxisSensorUserCalibrationSupported | |||
|- | |||
| 17 | |||
| HasLeftBattery | |||
|- | |||
| 18 | |||
| HasRightBattery | |||
|- | |||
| 19 | |||
| HasNoBattery | |||
|- | |||
| 20 | |||
| HasMainColor | |||
|- | |||
| 21 | |||
| HasSubColor | |||
|- | |||
| 22 | |||
| | |||
|- | |||
| 23 | |||
| | |||
|- | |||
| 24 | |||
| HasMcu | |||
|- | |||
| 25 | |||
| HasNotificationLed | |||
|- | |||
| 26 | |||
| | |||
|- | |||
| 27 | |||
| | |||
|- | |||
| 28 | |||
| IsEmbeddedController | |||
|- | |||
| 29 | |||
| IsFullController | |||
|- | |||
| 30 | |||
| IsLeftController | |||
|- | |||
| 31 | |||
| IsRightController | |||
|- | |||
| 32 | |||
| | |||
|- | |||
| 33 | |||
| | |||
|- | |||
| 34 | |||
| IsDirectUsbToBtSwitchingDevice | |||
|- | |||
| 35 | |||
| NormalizeAnalogStickWithInnerCross | |||
|} | |||
= Color = | |||
This is "nn::hidtypes::Color". | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset || Size || Description | |||
|- | |||
| 0x0 || 0x4 || BodyColor | |||
|- | |||
| 0x4 || 0x4 || ButtonsColor | |||
|- | |||
| 0x8 || 0x4 || LeftGripColor | |||
|- | |||
| 0xC || 0x4 || RightGripColor | |||
|} | |||
= DeviceDescriptorType = | |||
This is "nn::hidtypes::DeviceDescriptorType". | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset || Size || Description | |||
|- | |||
| 0x0 || 0x1 || [[#DeviceTypeInternal|DeviceType]] | |||
|- | |||
| 0x1 || 0x7 || Reserved | |||
|- | |||
| 0x8 || 0x8 || [[#FeatureType|FeatureType]] | |||
|- | |||
| 0x10 || 0x4 || | |||
|- | |||
| 0x14 || 0x4 || | |||
|- | |||
| 0x18 || 0x4 || [[#AssignmentStyle|AssignmentStyle]] | |||
|- | |||
| 0x1C || 0x10 || [[#Color|DeviceColor]] | |||
|- | |||
| 0x2C || 0x4 || | |||
|} | |||
= IrCameraHandle = | = IrCameraHandle = |