From a863a96e815a5740cb7becc9b45527dfc8b27c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 17 Feb 2013 00:02:03 +0100 Subject: Add $XBOX_ARGS for additional arguments to xboxdrv --- templates/xpad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/xpad b/templates/xpad index 1e67429..5cb2176 100644 --- a/templates/xpad +++ b/templates/xpad @@ -1,6 +1,6 @@ xpad_prepare () { declare -g XBOX_PID XBOX_DEADZONE XBOX_UIAXISMAP \ - XBOX_UIBUTTONMAP XBOX_NO_FF + XBOX_UIBUTTONMAP XBOX_NO_FF XBOX_ARGS local args="--silent \ --deadzone ${XBOX_DEADZONE:-4000}" @@ -9,7 +9,7 @@ xpad_prepare () { [[ -n $XBOX_UIBUTTONMAP ]] && args+=" --ui-buttonmap $XBOX_UIBUTTONMAP" [[ -z $XBOX_NO_FF ]] || args+=" --force-feedback" - exc -b xboxdrv ${=args} + exc -b xboxdrv ${=args} ${=XBOX_ARGS} XBOX_PID=$! } -- cgit v1.2.3