mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-07 08:44:07 +01:00
Merge branch 'feature/KASM-1991_gamepad_support' into 'develop'
KASM-1991 Doom Gamepad Config Closes KASM-1991 See merge request kasm-technologies/internal/workspaces-images!74
This commit is contained in:
commit
ac23fa6345
@ -4,7 +4,44 @@ apt-get update
|
||||
apt-get install -y chocolate-doom doom-wad-shareware prboom-plus freedoom
|
||||
|
||||
mkdir -p $HOME/.local/share/chocolate-doom
|
||||
echo 'force_software_renderer 1' > $HOME/.local/share/chocolate-doom/chocolate-doom.cfg
|
||||
cat >$HOME/.local/share/chocolate-doom/chocolate-doom.cfg <<EOL
|
||||
force_software_renderer 1
|
||||
joystick_guid "030000005e040000be02000014010000"
|
||||
joystick_index 0
|
||||
joystick_x_axis 0
|
||||
joystick_x_invert 0
|
||||
joystick_y_axis 1
|
||||
joystick_y_invert 0
|
||||
joystick_strafe_axis -1
|
||||
joystick_strafe_invert 0
|
||||
joystick_look_axis -1
|
||||
joystick_look_invert 0
|
||||
joystick_physical_button0 0
|
||||
joystick_physical_button1 3
|
||||
joystick_physical_button2 1
|
||||
joystick_physical_button3 2
|
||||
joystick_physical_button4 4
|
||||
joystick_physical_button5 5
|
||||
joystick_physical_button6 4
|
||||
joystick_physical_button7 5
|
||||
joystick_physical_button8 8
|
||||
joystick_physical_button9 8
|
||||
joystick_physical_button10 10
|
||||
joyb_strafeleft -1
|
||||
joyb_straferight -1
|
||||
joyb_menu_activate 9
|
||||
joyb_toggle_automap -1
|
||||
joyb_prevweapon 6
|
||||
joyb_nextweapon 7
|
||||
EOL
|
||||
|
||||
cat >$HOME/.local/share/chocolate-doom/default.cfg <<EOL
|
||||
use_joystick 1
|
||||
joyb_fire 0
|
||||
joyb_strafe 2
|
||||
joyb_use 1
|
||||
joyb_speed 3
|
||||
EOL
|
||||
|
||||
# Startup tweak
|
||||
cat >/usr/bin/desktop_ready <<EOL
|
||||
|
Loading…
Reference in New Issue
Block a user