Changes

Jump to navigation Jump to search
559 bytes added ,  20:24, 16 December 2018
no edit summary
Line 84: Line 84:  
| 91 || ActivateGesture
 
| 91 || ActivateGesture
 
|-
 
|-
| 100 || SetSupportedNpadStyleSet
+
| 100 || [[#SetSupportedNpadStyleSet]]
 
|-
 
|-
| 101 || GetSupportedNpadStyleSet
+
| 101 || [[#GetSupportedNpadStyleSet]]
 
|-
 
|-
 
| 102 || [[#SetSupportedNpadIdType]]
 
| 102 || [[#SetSupportedNpadIdType]]
Line 249: Line 249:  
== CreateAppletResource ==
 
== CreateAppletResource ==
 
Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an [[#IAppletResource]].
 
Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an [[#IAppletResource]].
 +
 +
== SetSupportedNpadStyleSet ==
 +
Takes an u32 [[#NpadStyleTag]].
 +
 +
== GetSupportedNpadStyleSet ==
 +
Returns an u32 [[#NpadStyleTag]].
    
== SetSupportedNpadIdType ==
 
== SetSupportedNpadIdType ==
Line 333: Line 339:  
=== ActivateVibrationDevice ===
 
=== ActivateVibrationDevice ===
 
Takes an input [[#VibrationDeviceHandle]]. No output.
 
Takes an input [[#VibrationDeviceHandle]]. No output.
 +
 +
== NpadStyleTag ==
 +
This is a bitfield describing which controller styles are supported.
 +
 +
{| class="wikitable" border="1"
 +
!  Bits
 +
!  Description
 +
|-
 +
| 0
 +
| NpadFullKey
 +
|-
 +
| 1
 +
| NpadHandheld
 +
|-
 +
| 2
 +
| NpadJoyDual
 +
|-
 +
| 3
 +
| NpadJoyLeft
 +
|-
 +
| 4
 +
| NpadJoyRight
 +
|-
 +
| 5
 +
| NpadGc
 +
|-
 +
| 6
 +
| NpadPalma
 +
|-
 +
| 7
 +
| NpadLark
 +
|-
 +
| 8
 +
| NpadHandheldLark
 +
|-
 +
| 9-28
 +
| Reserved
 +
|-
 +
| 29
 +
| NpadSystemExt
 +
|-
 +
| 30
 +
| NpadSystem
 +
|-
 +
| 31
 +
| Reserved
 +
|}
    
== NpadIdType ==
 
== NpadIdType ==

Navigation menu