Skip to content

Wheel settings

Dario Pagani edited this page Aug 7, 2020 · 1 revision

Packets to write a setting to the wheel

All multi-byte values are sent in little endian

Auto centering strength

Note: When input is open is used only if auto-centering is enabled

To set the strength we send to the second endpoint of the wheel a USB INTERRUPT OUT with the following data content

offsets 0x0 0x1 0x2 0x3
0x00 0x40 0x03 strength 0x00

With strength an unsigned integer on 8bit with values between 0x00 and 0x64 = 100, extremities included. This is literally the percentage set on the slider, no conversion needed.

Auto centering in game

Note: when no input are open the wheel always uses the auto centering option!

To set the auto centering we send to the second endpoint of the wheel a USB INTERRUPT OUT with the following data content

offsets 0x0 0x1 0x2 0x3
0x00 0x40 0x04 center 0x00

With center to 0 if we don't want to use the auto centering feature, 1 otherwise.

Range

How far the wheel can turn in both directions.

To set the range we send to the second endpoint of the wheel a USB INTERRUPT OUT with the following data content

offsets 0x0 0x1 0x2 0x3
0x00 0x40 0x11 range

Where range is an unsigned integer on 16bit with values between 0x00 and 0xffff, extremities included.

A value of 0xffff means 1080° of turning range and a value of 0x0000 should mean 0°. Notice that the Windows's driver limit the minimum range to 270°

Force feedback gain

To set the gain we send to the second endpoint of the wheel a USB INTERRUPT OUT with the following data content

offsets 0x0 0x1
0x00 0x43 gain

Where gain is an unsigned integer on 8bit with values between 0x00 and 0x80, extremities included.