Changes

442 bytes added ,  21:03, 28 June 2019
Line 775: Line 775:  
| 0x38 || 0x60 || Unused with [[#SetAutoPilotVirtualPadState]].
 
| 0x38 || 0x60 || Unused with [[#SetAutoPilotVirtualPadState]].
 
|}
 
|}
 +
 +
Normally the input state is merged with an existing controller selected by Type. However in some cases (BIT(2-5) with type2!=0x2 and BIT(31)) it's detected as a dedicated controller.
    
Type:
 
Type:
Line 785: Line 787:  
| 0 || 0 || ||  
 
| 0 || 0 || ||  
 
|-
 
|-
| 1 || 15 || ||  
+
| 1 || 15 || || [[#DeviceType]] |= BIT(1)
 
|-
 
|-
 
| 2 || 1 || ||  
 
| 2 || 1 || ||  
Line 797: Line 799:  
| 6 || 3 || ||  
 
| 6 || 3 || ||  
 
|-
 
|-
| 7 || 11 || ||  
+
| 7 || 11 || || [[#DeviceType]] |= BIT(11)
 
|-
 
|-
| 8 || 12 || ||  
+
| 8 || 12 || || [[#DeviceType]] |= BIT(12)
 
|-
 
|-
| 9 || 13 || ||  
+
| 9 || 13 || || [[#DeviceType]] |= BIT(13)
 
|-
 
|-
| 10 || 14 || ||  
+
| 10 || 14 || || [[#DeviceType]] |= BIT(14)
 
|-
 
|-
| 11 || 15 || ||  
+
| 11 || 15 || || [[#DeviceType]] |= BIT(11)
 
|-
 
|-
| 12 || 12 || ||  
+
| 12 || 12 || || [[#DeviceType]] |= BIT(12)
 
|-
 
|-
| 13 || 13 || ||  
+
| 13 || 13 || || [[#DeviceType]] |= BIT(13)
 
|-
 
|-
| 14 || 14 || ||  
+
| 14 || 14 || || [[#DeviceType]] |= BIT(14)
 
|-
 
|-
 
| 15 || 17 || ||  
 
| 15 || 17 || ||  
 
|-
 
|-
| 31 || 21 || ||  
+
| 31 || 21 || || [[#DeviceType]] = BIT(31)
 
|-
 
|-
 
|}
 
|}