In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
Line 41: Line 41:  
* 0x81 : Slot(s) 4
 
* 0x81 : Slot(s) 4
 
* 0x91 : Slot(s) 4 + 1
 
* 0x91 : Slot(s) 4 + 1
* 0xa1 : Slot(s) 4 + 2  
+
* 0xA1 : Slot(s) 4 + 2  
* 0xb1 : Slot(s) 4 + 2 + 1
+
* 0xB1 : Slot(s) 4 + 2 + 1
* 0xc1 : Slot(s) 4 + 3
+
* 0xC1 : Slot(s) 4 + 3
* 0xd1 : Slot(s) 4 + 3 + 1
+
* 0xD1 : Slot(s) 4 + 3 + 1
* 0xe1 : Slot(s) 4 + 3 +  2  
+
* 0xE1 : Slot(s) 4 + 3 +  2  
* 0xf1 : Slot(s) 4 + 3 +  2 + 1
+
* 0xF1 : Slot(s) 4 + 3 +  2 + 1
* 0x_e : Auto Center
+
* 0x_E : Auto Center
    
The type of effect is encoded in the second byte of the out-port write, with specific settings for the effect in the further bytes.
 
The type of effect is encoded in the second byte of the out-port write, with specific settings for the effect in the further bytes.
 +
; AutoCenter
 +
: Byte 2 - 0x0D
 +
: Byte 3 - Proportion of force anti-clockwise (0x00..0x07)
 +
: Byte 4 - Proportion of force clockwise (0x00..0x07)
 +
: Byte 5 - Force (0x00..0xFF)
 +
: Byte 6 & 7 - 0x00
   −
* 0x0D : AutoCenter
+
; Constant Force
* 0x10 : Constant Force
+
: Byte 2 - 0x10
* 0x11 : Auto/Anti Center (Complex) - this is similar to a spring force
+
: Byte 3 - Force Clockwise and Anticlock (0x00..0xFF, 00x00 is to right, 0x80 is zero force, 0xFF is to left)
* 0x12 : Friction Force
+
: Byte 4..7 - set 0x00
* 0x13 : Auto/Anti Center (Complex) - is this any different to '0x11'
+
 
* 0x_F : Cause wheel to de-associated from dongle - this is probably unintentional
+
; Auto/Anti Center (Complex) : This is similar to a spring force
 +
: Byte 2 - 0x11
 +
: Byte 3 - Clockwise angle, nominally on left (0x00..0xFF)
 +
: Byte 4 - Anti-Clockwise angle, nominally on right(0x00..0xFF)
 +
: Byte 5 - Proportional force, upper nymble Clockwise + lower nymble AntiClk (each 0x0..0xF)
 +
: Byte 6 - Reverse Direction; upper nymble Clockwise + lower nymble AntiClk (each 0x0..0x1)
 +
: Byte 7 - Force (0x00..0xFF)
 +
 
 +
; Friction Force
 +
: Byte 2 - 0x12
 +
: Byte 3 - Clockwise force (0x00..0x0F)
 +
: Byte 4 - Clockwise Resist = 0x00, Assist = 0x01..0x0F
 +
: Byte 5 - Anticlock force (0x00..0x0F)
 +
: Byte 6 - Anticlock Resist = 0x00, Assist = 0x01..0x0F
 +
: Byte 7 - Unknown mistery command, pulls to center/left/right dependant on value.
 +
 
 +
; Auto/Anti Center (Complex) : Is this any different to '0x11'?
 +
: Byte 2 - 0x13
 +
: Byte 3 - Clockwise angle, nominally on left (0x00..0xFF)
 +
: Byte 4 - Anti-Clockwise angle, nominally on right(0x00..0xFF)
 +
: Byte 5 - Proportional force, upper nymble Clockwise + lower nymble AntiClk (each 0x0..0xF)
 +
: Byte 6 - Reverse Direction; upper nymble Clockwise + lower nymble AntiClk (each 0x0..0x1)
 +
: Byte 7 - Force (0x00..0xFF)
 +
 
 +
; De-associated : this is probably unintentional
 +
: Byte 2 - 0x_F
 +
: Byte 3, 4, 5, 6 & 7 - anything (set 0x00)
 +
 
 +
==Testing==
    
A simple Linux/Python script for testing these codes can be found [http://www.wiibrew.org/w/images/a/ac/Autocenter.zip here]. --[[User:Mungewell|Mungewell]] 17:14, 8 September 2010 (CEST)
 
A simple Linux/Python script for testing these codes can be found [http://www.wiibrew.org/w/images/a/ac/Autocenter.zip here]. --[[User:Mungewell|Mungewell]] 17:14, 8 September 2010 (CEST)
    
[[Category:Hardware]]
 
[[Category:Hardware]]
49

edits

Navigation menu