Line 137:
Line 137:
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
+
; AutoCenter - fixed position spring, force gets stronger the larger the displacement
: Byte 2 - 0x0D
: Byte 2 - 0x0D
: Byte 3 - Proportion of force anti-clockwise (0x00..0x07)
: Byte 3 - Proportion of force anti-clockwise (0x00..0x07)
Line 149:
Line 149:
: Byte 4..7 - set 0x00
: Byte 4..7 - set 0x00
−
; Auto/Anti Center (Complex) : This is similar to a spring force
+
; 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 - 0x11
−
: Byte 3 - Clockwise angle, nominally on left (0x00..0xFF - 0x00 if 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 - Proportional force, upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0xF)
+
: Byte 5 - L/R Proportion force, upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0xF)
: Byte 6 - Reverse Direction; upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0x1)
: Byte 6 - Reverse Direction; upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0x1)
: Byte 7 - Force (0x00..0xFF)
: Byte 7 - Force (0x00..0xFF)
Line 169:
Line 169:
: 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 - Proportional force, upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0xF)
+
: Byte 5 - L/R Proportion force, upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0xF)
: Byte 6 - Reverse Direction; upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0x1)
: Byte 6 - Reverse Direction; upper nymble Clockwise + lower nymble Anticlockwise (each 0x0..0x1)
: Byte 7 - Force (0x00..0xFF)
: Byte 7 - Force (0x00..0xFF)