Line 147:
Line 147:
=== Effects ===
=== Effects ===
−
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. The upper nibble of the effect is OR'ed with 0x80 before it is transmitted, it doesn't appear that it makes any difference in the effect
+
−
; AutoCenter - fixed position spring, force gets stronger the larger the displacement
−
: 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 - No effect, set 0x00
; Constant Force
; Constant Force
−
: Byte 2 - 0x10
+
: Byte 2 - 0x_0
−
: Byte 3 - Force Clockwise and Anticlock (0x00..0xFF - 00x00 is to right, 0x80 is zero force, 0xFF is to left)
+
: Byte 3 - Force clockwise and anti-clockwise (0x00..0xFF - 00x00 is to right, 0x80 is zero force, 0xFF is to left)
: Byte 4..7 - No effect, set 0x00
: Byte 4..7 - No effect, set 0x00
; Auto/Anti Center (Complex) : This is similar to a spring force, but force is constant towards/away from angle points. Multiple of these can be stacked in different slots to emulate a spring and any angle.
; Auto/Anti Center (Complex) : This is similar to a spring force, but force is constant towards/away from angle points. Multiple of these can be stacked in different slots to emulate a spring and any angle.
−
: Byte 2 - 0x11
+
: Byte 2 - 0x_1
: Byte 3 - Clockwise angle, nominally on left (0x00..0xFF - 0x00 is fully left)
: Byte 3 - Clockwise angle, nominally on left (0x00..0xFF - 0x00 is fully left)
: Byte 4 - Anti-Clockwise angle, nominally on right(0x00..0xFF)
: Byte 4 - Anti-Clockwise angle, nominally on right(0x00..0xFF)
−
: Byte 5 - L/R Proportion force, upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0xF)
+
: Byte 5 - L/R Proportion force, upper nibble clockwise + lower nibble anti-clockwise (each 0x0..0xF)
−
: Byte 6 - Reverse Direction; upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0x1)
+
: Byte 6 - Reverse Direction; upper nibble clockwise + lower nibble anti-clockwise (each 0x0..0x1)
: Byte 7 - Force (0x00..0xFF)
: Byte 7 - Force (0x00..0xFF)
; Friction Force
; Friction Force
−
: Byte 2 - 0x12
+
: Byte 2 - 0x_2
: Byte 3 - Clockwise force (0x00..0x0F)
: Byte 3 - Clockwise force (0x00..0x0F)
: Byte 4 - Clockwise Resist = 0x00, Assist = 0x01..0x0F
: Byte 4 - Clockwise Resist = 0x00, Assist = 0x01..0x0F
−
: Byte 5 - Anticlockwise force (0x00..0x0F)
+
: Byte 5 - Anti-clockwise force (0x00..0x0F)
−
: Byte 6 - Anticlockwise Resist = 0x00, Assist = 0x01..0x0F
+
: Byte 6 - Anti-clockwise Resist = 0x00, Assist = 0x01..0x0F
: Byte 7 - No effect, set 0x00.
: Byte 7 - No effect, set 0x00.
; Auto/Anti Center (Complex) : Is this any different to '0x11'?
; Auto/Anti Center (Complex) : Is this any different to '0x11'?
−
: Byte 2 - 0x13
+
: Byte 2 - 0x_3
: Byte 3 - Clockwise angle, nominally on left (0x00..0xFF)
: Byte 3 - Clockwise angle, nominally on left (0x00..0xFF)
−
: Byte 4 - Anti-Clockwise angle, nominally on right(0x00..0xFF)
+
: Byte 4 - Anti-clockwise angle, nominally on right(0x00..0xFF)
−
: Byte 5 - L/R Proportion force, upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0xF)
+
: Byte 5 - L/R Proportion force, upper nibble clockwise + lower nibble anti-clockwise (each 0x0..0xF)
−
: Byte 6 - Reverse Direction; upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0x1)
+
: Byte 6 - Reverse Direction; upper nibble clockwise + lower nibble anti-clockwise (each 0x0..0x1)
: Byte 7 - Force (0x00..0xFF)
: Byte 7 - Force (0x00..0xFF)
Line 188:
Line 183:
: Byte 2 - 0x_F
: Byte 2 - 0x_F
: Byte 3, 4, 5, 6 & 7 - anything (set 0x00)
: Byte 3, 4, 5, 6 & 7 - anything (set 0x00)
+
+
+
The 'simple autocenter' is not written to a slot, instead it has it's own special slot at the end of the data frame
+
+
; AutoCenter - fixed position spring, force gets stronger the larger the displacement
+
: Byte 2 - 0x_D
+
: 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 - No effect, set 0x00
==On Air Data==
==On Air Data==