Changes

340 bytes added ,  22:13, 5 March 2020
Line 2,182: Line 2,182:  
| 14 || [6.0.0+] [[#SetStatusManagerType]]
 
| 14 || [6.0.0+] [[#SetStatusManagerType]]
 
|}
 
|}
 +
 +
sdknso doesn't use the GetPollingData cmd.
    
== GetBusHandle ==
 
== GetBusHandle ==
Line 2,192: Line 2,194:  
== IsExternalDeviceConnected ==
 
== IsExternalDeviceConnected ==
 
Takes an input [[#BusHandle]], returns an output u8 bool.
 
Takes an input [[#BusHandle]], returns an output u8 bool.
 +
 +
This is not used by sdknso.
    
== Initialize ==
 
== Initialize ==
Line 2,203: Line 2,207:  
== EnableExternalDevice ==
 
== EnableExternalDevice ==
 
Takes an input u8 bool, a [[#BusHandle]], an u64, an u64 [[AM_services|AppletResourceUserId]], no output.
 
Takes an input u8 bool, a [[#BusHandle]], an u64, an u64 [[AM_services|AppletResourceUserId]], no output.
 +
 +
sdknso passes value 0x38900050018 (0x3A600050018 with 7.x+) for the u64.
    
== GetExternalDeviceId ==
 
== GetExternalDeviceId ==
Takes an input [[#BusHandle]], returns an output u32.
+
Takes an input [[#BusHandle]], returns an output u32 ExternalDeviceId.
    
== SendCommandAsync ==
 
== SendCommandAsync ==
Line 2,218: Line 2,224:  
Takes an input [[#BusHandle]], returns an output Event handle with EventClearMode=0.
 
Takes an input [[#BusHandle]], returns an output Event handle with EventClearMode=0.
   −
Official sw with SendAndReceive clears this event, uses [[#SendCommandAsync]], waits on + clears this event, then uses [[#GetSendCommandAsynceResult]].
+
Official sw with SendAndReceive clears this event (6.x+ sdknso), uses [[#SendCommandAsync]], waits on + clears this event, then uses [[#GetSendCommandAsynceResult]].
    
== GetSharedMemoryHandle ==
 
== GetSharedMemoryHandle ==
Line 2,226: Line 2,232:     
See also [[#SetStatusManagerType]].
 
See also [[#SetStatusManagerType]].
 +
 +
This sharedmem contains an array of 0x100-byte (0x80-byte with [[#SetStatusManagerType|[6.0.0+]]]) entries, with entry-count {max [[#GetBusHandle|BusHandles]]}.
    
== EnableJoyPollingReceiveMode ==
 
== EnableJoyPollingReceiveMode ==