Introduction
This guide will walk you through the process of making Wine/Proton recognize Thrustmaster T-LCM pedals on Linux. Although the testing was done using the GTK testing method, and the calibration/mapping is working fine, the "Wine Control" tool still doesn't recognize the pedals. By following this guide, you can get your Thrustmaster T-LCM pedals working with Wine/Proton games on Linux.
Background
Wine is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. Proton is a compatibility layer by Valve that enhances Wine, aiming to provide a better out-of-the-box experience for Windows games on Linux through Steam Play.
Prerequisites
Ensure you have the following installed and configured on your Linux system:
- A compatible Linux distribution (e.g., Ubuntu 20.04 or Arch Linux)
- Steam installed
- Wine and Proton installed (via Steam or your distribution's package manager)
- Thrustmaster T-LCM pedals connected and functional
Setting Up Environment Variables
To set up the required environment variables, you can follow these steps:
For Steam Proton:
- Navigate to your Steam installation directory.
- Browse to
/steam/.steam/steam/ubuntu12_34/steam-runtime/runtime/i386/lib/wine. - Create a new file called
wine.conf. - Add the following lines to the file:
[EntryPoints] kernel = "winekernel"[winekernel] "Device"="tsconfig.txt"
For Wine:
- Open a terminal.
- Enter
nano ~/.wine/drive_c/windows/system.inito open the system.ini file in a text editor. - Add the following sections to the file:
[ControllerMap] Thrustmaster HOTAS Warthog = "a:0 Xbox Controller" TS-PC RACER USB = "a:0 Xbox Controller"[Thrustmaster HOTAS Warthog] Device = "tsconfig.txt"[TS-PC RACER USB] Device = "tsconfig.txt"
Creating the tsconfig.txt File
Create a new file called tsconfig.txt in your home folder.
Thrustmaster T-LCM Pedals Configuration:
[Joystick]
Device=Thrustmaster HOTAS Warthog