Euro Tuck Simulator 2 - uglyDwarf/linuxtrack GitHub Wiki

Euro Truck Simulator 2

this is still a work in progress

(Native Linux and possibly Mac)

use the GUI to set up the head tracking.

Then, use the chmod command to create the virtual joystick. This is temporary and needs do be done permanently. I'll do that later.
chmod +0666 /dev/uinput

Finally I used the ltr_pipe command to create the virtual joystick.

ltr_pipe --output-file=/dev/uinput --format-uinput-abs

On starting ETS2 you should now see the linxtrack virtual joystick as a possible controller.

Exit ETS2 and edit the control file in the profile. Where it says look up/down use joy3.x or joy.y.

'controls_linux.sii':
config_lines[14]: "input j_look_lr `joy2.x`"

Now restart ETS2. When you go to options/control you should see your head movements appear in the look left/right bar. You'll probably need to tweak the deadzone slider a bit.

Click drive to go to the in cabin view and you should be able to move your head to look left/right.