aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/gamepad-daemon
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-07-11 23:05:29 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-07-11 23:05:29 +0100
commit597bb886d926b4910c555efebe5c60a991bbd5fd (patch)
treeb4d8198bce6cfd5d00632bd907b7ba6075593de2 /Scripts/.local/scripts/gamepad-daemon
parent49d5e987cb9f77f815e535c86dcaadeb61ecb66f (diff)
downloaddotfiles-597bb886d926b4910c555efebe5c60a991bbd5fd.tar.gz
dotfiles-597bb886d926b4910c555efebe5c60a991bbd5fd.tar.bz2
dotfiles-597bb886d926b4910c555efebe5c60a991bbd5fd.zip
(xboxdrv)~split config into general, typing and media
Each config file is loaded in gamepad-daemon, general then typing then media. Each profile is pretty self explanatory, and allows for splitting of responsibilities. Config switches occur through the guide button.
Diffstat (limited to 'Scripts/.local/scripts/gamepad-daemon')
-rwxr-xr-xScripts/.local/scripts/gamepad-daemon8
1 files changed, 6 insertions, 2 deletions
diff --git a/Scripts/.local/scripts/gamepad-daemon b/Scripts/.local/scripts/gamepad-daemon
index ab48cbd..492e65a 100755
--- a/Scripts/.local/scripts/gamepad-daemon
+++ b/Scripts/.local/scripts/gamepad-daemon
@@ -1,3 +1,7 @@
#!/bin/sh
-
-sudo xboxdrv --silent -c $HOME/.config/xboxdrv/config.xboxdrv --axis-sensitivity X1=-1.0,X2=-1.0,Y1=-1.0,Y2=-1.0 > $HOME/.local/share/log/xbox.log &
+P=$HOME
+sudo xboxdrv --silent \
+ -c $P/.config/xboxdrv/general.xboxdrv \
+ --alt-config $P/.config/xboxdrv/typing.xboxdrv \
+ --alt-config $P/.config/xboxdrv/media.xboxdrv \
+ --axis-sensitivity X1=-1.0,X2=-1.0,Y1=-1.0,Y2=-1.0