HID services: Difference between revisions

Line 467: Line 467:


== NpadStyleTag ==
== NpadStyleTag ==
This is a bitfield describing which controller styles are supported.
This is "nn::hid::NpadStyleTag".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 476: Line 476:
| 0
| 0
| NpadFullKey
| NpadFullKey
| Pro Controller.
| Pro Controller
|-
|-
| 1
| 1
| NpadHandheld
| NpadHandheld
| Joy-Con controller in handheld mode.
| Joy-Con controller in handheld mode
|-
|-
| 2
| 2
| NpadJoyDual
| NpadJoyDual
| Joy-Con controller in dual mode.
| Joy-Con controller in dual mode
|-
|-
| 3
| 3
| NpadJoyLeft
| NpadJoyLeft
| Joy-Con left controller in single mode.
| Joy-Con left controller in single mode
|-
|-
| 4
| 4
| NpadJoyRight
| NpadJoyRight
| Joy-Con right controller in single mode.
| Joy-Con right controller in single mode
|-
|-
| 5
| 5
| NpadGc
| NpadGc
| GameCube controller.
| GameCube controller
|-
|-
| 6
| 6
| NpadPalma
| NpadPalma
| Poké Ball Plus controller.
| Poké Ball Plus controller
|-
|-
| 7
| 7
| NpadLark
| NpadLark
| NES/Famicom controller.
| NES/Famicom controller
|-
|-
| 8
| 8
| NpadHandheldLark
| NpadHandheldLark
| NES/Famicom controller in handheld mode.
| NES/Famicom controller in handheld mode
|-
|-
| 9
| 9
| NpadLucia
| NpadLucia
| SNES controller.
| SNES controller
|-
|-
| 10-28
| 10-28
Line 520: Line 520:
| 29
| 29
| NpadSystemExt
| NpadSystemExt
| Generic external controller.
| Generic external controller
|-
|-
| 30
| 30
| NpadSystem
| NpadSystem
| Generic controller.
| Generic controller
|-
|-
| 31
| 31
Line 530: Line 530:
|
|
|}
|}
== NpadIdType ==
== NpadIdType ==
This is an u32. This is the controller index used in [[HID_Shared_Memory#Controllers|sharedmem]].
This is an u32. This is the controller index used in [[HID_Shared_Memory#Controllers|sharedmem]].