From 597bb886d926b4910c555efebe5c60a991bbd5fd Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 11 Jul 2021 23:05:29 +0100 Subject: (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. --- Scripts/.local/scripts/gamepad-daemon | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Scripts/.local') 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 -- cgit v1.2.3-13-gbd6f