Controller Applet: Difference between revisions
No edit summary |
|||
Line 57: | Line 57: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 || 0x1 || s8 playerCountMin | | 0x0 || 0x1 || s8 playerCountMin (must be >=0 and <=max_controllers). Older versions assert when invalid, newer versions clamp the used value to a valid range. | ||
|- | |- | ||
| 0x1 || 0x1 || s8 playerCountMax | | 0x1 || 0x1 || s8 playerCountMax (must be >=1 and <=max_controllers). Older versions assert when invalid, newer versions clamp the used value to a valid range. | ||
|- | |- | ||
| 0x2 || | | 0x2 || 0x1 || u8 enableTakeOverConnection. | ||
|- | |- | ||
| | | 0x3 || 0x1 || u8 enableLeftJustify. | ||
|- | |- | ||
| | | 0x4 || 0x1 || u8 enablePermitJoyDual. | ||
|- | |- | ||
| 0x7 + 4*max_controllers || 0x1 || Enables using the ExplainText data when non-zero. | | 0x5 || 0x1 || u8 enableSingleMode. | ||
|- | |||
| 0x6 || 0x1 || u8 enableIdentificationColor. Enables using the array at offset 0x7 when non-zero. | |||
|- | |||
| 0x7 || 4*max_controllers || u8 identificationColor[4]. Array of 4-byte entries for each controller, see below for total entries (max controllers). This entry contains individual u8s. | |||
|- | |||
| 0x7 + 4*max_controllers || 0x1 || u8 enableExplainText. Enables using the ExplainText data when non-zero. | |||
|} | |} | ||
Line 83: | Line 89: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 || 0x1 || u8 | | 0x0 || 0x1 || u8 enableForceUpdate. | ||
|- | |- | ||
| 0x1 || 0x3 || | | 0x1 || 0x3 || u8 padding[3]. | ||
|} | |} | ||
Line 115: | Line 121: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 || 0x1 || | | 0x0 || 0x1 || s8 playerCount. | ||
|- | |- | ||
| 0x1 || 0x3 || | | 0x1 || 0x3 || u8 padding[3]. | ||
|- | |- | ||
| 0x4 || 0x4 || | | 0x4 || 0x4 || u32 selectedId. | ||
|} | |} | ||