updating iw4x

This commit is contained in:
Kibi Kelburton 2021-10-24 10:22:50 +02:00
parent d6006bb954
commit 69084af193

View File

@ -7,6 +7,16 @@ The mice I tried were `Razer Naga Hex v2 Trinity` and `Logitech G502 Hero` with
I wrote two bash scripts, these scripts are being called when I start the game and after I quit the game, made possible by launching iw4x through Lutris. I wrote two bash scripts, these scripts are being called when I start the game and after I quit the game, made possible by launching iw4x through Lutris.
## Find your device ID
`xinput --list`
In my case it's `8` and looks like this:
`⎜ ↳ Logitech G502 HERO Gaming Mouse id=8 [slave pointer (2)]`
yours can of course be different you gotta try out a bit.
## Starting the game ## Starting the game
`disable_accel.bash` (This will disable the mouse acceleration via xinput - ratbagctl is a Logitech mouse only thing, with the ratbag command I just set the perfect dpi for myself) `disable_accel.bash` (This will disable the mouse acceleration via xinput - ratbagctl is a Logitech mouse only thing, with the ratbag command I just set the perfect dpi for myself)
@ -27,3 +37,6 @@ xinput --set-prop 8 'libinput Accel Profile Enabled' 1, 0
ratbagctl Logi dpi set 2400 ratbagctl Logi dpi set 2400
``` ```
## Adding to Lutris
If you have installed iw4x via Lutris, right click the game icon in Lutris, head over to Configure -> System options and add `disable_accel.bash` in the Pre-launch script section and `enable_accel.bash` in the Post-exit script section