Skip to content

Add support for the Thrustmaster T-GT II - #215

Open
ranjian0 wants to merge 3 commits into
Kimplul:masterfrom
ranjian0:tgt2-support
Open

Add support for the Thrustmaster T-GT II#215
ranjian0 wants to merge 3 commits into
Kimplul:masterfrom
ranjian0:tgt2-support

Conversation

@ranjian0

@ranjian0 ranjian0 commented Aug 22, 2026

Copy link
Copy Markdown

The T-GT II currently gets handled as a T300RS, since both wheels share the
USB product ID 044f:b66d. This PR adds a T-GT II code path behind the
tgt2_force=1 module parameter and leaves the default T300RS behaviour
untouched.

What the T-GT II path does:

  • Reuses the T300RS force feedback API unchanged (same FFB protocol).
  • Replaces the fixed report descriptor with one matching the wheel's actual
    64-byte input report, which exposes inputs the T300RS descriptor drops:
    • two analog ministicks,
    • analog L2/R2 trigger pressure,
    • the 16-bit wheel and pedal axes with the correct T-GT II pedal order
      (the T300RS descriptor maps the T-GT II's clutch and throttle swapped).
  • Parses the four endless rotary encoders (7-bit wrapping position counters,
    push flag in bit 7) in a new raw_event callback and exposes them as
    buttons: per dial, push + clockwise turn + counter-clockwise turn
    (BTN_TRIGGER_HAPPY1-12). Detent turns are reported as short button holds
    so polling userspace can see them.

Tested on a T-GT II on kernel 7.0: all buttons, dials, sticks and axes work,
and force feedback is unchanged compared to the T300RS path.

Fixes #151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

T-GT II - Enchantments

1 participant