Changes

671 bytes added ,  00:00, 10 March 2020
Line 2,237: Line 2,237:  
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]]}.
+
This sharedmem is the StatusManager. This sharedmem contains an array of 0x100-byte (0x80-byte with [[#SetStatusManagerType|[6.0.0+]]]) entries, with entry-count {max [[#GetBusHandle|BusHandles]]}.
 +
 
 +
sdknso only uses the first 0x10-bytes of these entries, the rest is the ignored. Entry structure:
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x1 || Bool flag
 +
|-
 +
| 0x1 || 0x3 || Padding
 +
|-
 +
| 0x4 || 0x4 || Result
 +
|-
 +
| 0x8 || 0x1 || DeviceEnabled. Bool flag indicating whether a device is [[#EnableExternalDevice|enabled]].
 +
|-
 +
| 0x9 || 0x1 || IsValid. Bool flag indicating whether this entry is valid.
 +
|-
 +
| 0xA || 0x1 || PollingEnabled. Bool flag indicating whether polling is [[#EnableJoyPollingReceiveMode|enabled]].
 +
|-
 +
| 0xB || 0x1 || Unknown / padding?
 +
|-
 +
| 0xC || 0x4 || [[#JoyPollingMode]]
 +
|}
    
== EnableJoyPollingReceiveMode ==
 
== EnableJoyPollingReceiveMode ==