Line 492: |
Line 492: |
| | | |
| == SixAxisSensorHandle == | | == SixAxisSensorHandle == |
− | This is an u32. | + | This is "nn::hid::SixAxisSensorHandle". This is a 4-byte struct with 4-byte alignment. |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset || Size || Description |
| + | |- |
| + | | 0x0 || 0x4 || TypeValue |
| + | |- |
| + | | 0x0 || 0x1 || NpadStyleIndex |
| + | |- |
| + | | 0x1 || 0x1 || PlayerNumber / [[#NpadIdType]] |
| + | |- |
| + | | 0x2 || 0x1 || Idx |
| + | |} |
| | | |
| == VibrationDeviceHandle == | | == VibrationDeviceHandle == |
− | This is an u32. | + | This is "nn::hid::VibrationDeviceHandle". This is a 4-byte struct with 4-byte alignment. |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset || Size || Description |
| + | |- |
| + | | 0x0 || 0x4 || TypeValue |
| + | |- |
| + | | 0x0 || 0x1 || NpadStyleIndex |
| + | |- |
| + | | 0x1 || 0x1 || [[#NpadIdType|PlayerNumber]] |
| + | |- |
| + | | 0x2 || 0x1 || DeviceIdx |
| + | |} |
| | | |
| == VibrationDeviceInfo == | | == VibrationDeviceInfo == |
− | This is a 0x8-byte struct. | + | This is "nn::hid::VibrationDeviceInfo" / "nn::hid::VibrationDeviceInfoForIpc". This is a 0x8-byte struct. |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset || Size || Description |
| + | |- |
| + | | 0x0 || 0x4 || |
| + | |- |
| + | | 0x4 || 0x4 || |
| + | |} |
| | | |
| == VibrationValue == | | == VibrationValue == |
− | This is a 0x10-byte struct, which contains 4 float values. | + | This is "nn::hid::VibrationValue". This is a 0x10-byte struct, which contains 4 float values. |
| | | |
| = hid:dbg = | | = hid:dbg = |