Changes

418 bytes added ,  23:27, 26 November 2020
no edit summary
Line 194: Line 194:  
| 406 || [4.0.0+] [[#GetNpadLeftRightInterfaceType]]
 
| 406 || [4.0.0+] [[#GetNpadLeftRightInterfaceType]]
 
|-
 
|-
| 407 || [10.0.0+] GetNpadOfHighestBatteryLevel ([9.0.0+] GetNpadOfHighestBatteryLevelForJoyLeft)
+
| 407 || [10.0.0+] [[#GetNpadOfHighestBatteryLevel]] ([9.0.0+] GetNpadOfHighestBatteryLevelForJoyLeft)
 
|-
 
|-
 
| 408 || [9.0.0-9.2.0] GetNpadOfHighestBatteryLevelForJoyRight
 
| 408 || [9.0.0-9.2.0] GetNpadOfHighestBatteryLevelForJoyRight
Line 604: Line 604:  
== HasBattery ==
 
== HasBattery ==
 
Takes an input u32, returns an output bool.
 
Takes an input u32, returns an output bool.
 +
 +
sdknso only exposes the hidsys version of this cmd.
    
== HasLeftRightBattery ==
 
== HasLeftRightBattery ==
 
Takes an input u32, returns two output bools.
 
Takes an input u32, returns two output bools.
 +
 +
sdknso only exposes the hidsys version of this cmd.
    
== GetNpadInterfaceType ==
 
== GetNpadInterfaceType ==
Line 612: Line 616:     
The NpadInterfaceType must be 1-4, otherwise this will Abort.
 
The NpadInterfaceType must be 1-4, otherwise this will Abort.
 +
 +
sdknso only exposes the hidsys version of this cmd.
    
== GetNpadLeftRightInterfaceType ==
 
== GetNpadLeftRightInterfaceType ==
 
Takes an input u32 [[#NpadIdType]], returns two output u8s [[#NpadInterfaceType]].
 
Takes an input u32 [[#NpadIdType]], returns two output u8s [[#NpadInterfaceType]].
 +
 +
sdknso only exposes the hidsys version of this cmd.
 +
 +
== GetNpadOfHighestBatteryLevel ==
 +
Takes a PID, a type-0x9 input buffer containing an array of u32 [[#NpadIdType]], an u64 [[AM_services|AppletResourceUserId]], returns an output u32 [[#NpadIdType]].
    
== IAppletResource ==
 
== IAppletResource ==