Euro Truck Simulator 2

Euro Truck Simulator 2

Not enough ratings
Better keyboard/mouse input
By Etrusan
Makes keyboard driving way better.
   
Award
Favorite
Favorited
Unfavorite
Prerequisites
  • Some kind of text editor. I use NP++.
  • File "controls.sii" from your profile folder
    • With Steam Cloud save disabled: Documents\Euro Truck Simulator 2\profiles\<profile_id>\controls.sii
    • With Steam Cloud save enabled: Documents\Euro Truck Simulator 2\steam_profiles\<profile_id>\controls.sii
  • Backup of the file "controls.sii" just in case something goes wrong.

Always use input keys from your "controls.sii". Don't blindly copy paste from this guide.

Support for modifier keys (CTRL, SHIFT, ALT) (<1.49)

In game version >= 1.49 you can set them up directly in the game. For older versions you can still refer to this guide.


Doesn't have to be only modifier keys when I think about it, any key combination should work. Also, if you need to add a key but don't know the correct format, assign it to something via the UI in ETS2 and then look for it in the file itself. Please note that after these changes the UI will show "complex" as the assigned key.

  1. Locate the input you want to change. In my case, it's the parking brake ("mix parkingbrake") and I'd like it to toggle it with LCTRL+Space.

    It will look something like this
    "mix parkingbrake `keyboard.space?0`"

    After adding the modifier key "keyboard.lctrl?0 & "
    "mix parkingbrake `keyboard.lctrl?0 & keyboard.space?0`"

  2. Now you need to find the input that uses the key itself (without modifier) and add a negated modifier, so it won't fire when you execute the modifier action. In my case that's interior view ("mix cam1").

    It will look something like this
    "mix cam1 `keyboard.space?0`"

    After adding the negated modifier key "(! keyboard.lctrl?0) & "
    "mix cam1 `(! keyboard.lctrl?0) & keyboard.space?0`"
Better mouse steering (with pedals)

Values listed here are my personal preference and work well together. Always start by setting the steering sensitivity first. Non-linearity can be changed later.

  1. Steering sensitivity & non-linearity - make sure to change these in the UI as they depend on each other

    • For sensitivity
      "constant c_rsteersens 1.500000"

    • For non-linearity
      "constant c_asteersens 9.000000"

  2. Steering

    • Locate
      "mix msteering `-mouse.rel_position.x?0 * c_msens`"

    • Multiply it with your desired value. This will vary based on your preference, but I find the value "0.09" to be pretty good. It feels responsive yet precise at the same time.
      "mix msteering `-mouse.rel_position.x?0 * c_msens * 0.09`"

  3. Pedals

    • Locate
      "mix mpedals `-mouse.rel_position.y?0 * c_msens`"

    • Same as the steering - multiply it with your desired value. I find the value "0.08" to be pretty good.
      "mix mpedals `-mouse.rel_position.y?0 * c_msens * 0.08`"


  4. Optional

    • Removing the deadzone
      "constant c_mped_dz 0.200000"

    • Just set it to zero
      "constant c_mped_dz 0.000000"

    • To disable the ingame widget for the steering wheel turning subscribe to No Mouse Steering Widget. Conflicts with other mods are unknown as I don't use other mods. Please note that this will not disable the throttle/brake indicator.
Credits

I'd like to thank Max, the kind dev who pointed me in the right direction.

Icon made by Freepik from www.flaticon.com
4 Comments
とre Nov 3, 2022 @ 5:55pm 
thanks! good find
Baranettin Nov 3, 2022 @ 12:29am 
Is this still valid as it seems there are modifier strings in controls.sii file.
Strictlybusiness Jul 15, 2020 @ 12:52pm 
Thanks, now i have smooth steering.
Butane in My Brain Jul 14, 2020 @ 6:48am 
Thanks for the post bro!