diff --git a/scripts/core/sxmo_inputhandler.sh b/scripts/core/sxmo_inputhandler.sh index afacb13..50c1553 100755 --- a/scripts/core/sxmo_inputhandler.sh +++ b/scripts/core/sxmo_inputhandler.sh @@ -113,6 +113,42 @@ case "$WMCLASS" in ;; esac ;; + *"amfora"*) + case "$ACTION" in + "downright") + key Tab + exit 0 + ;; + "upleft") + key Shift+Tab + exit 0 + ;; + "down") + key d + exit 0 + ;; + "up") + key u + exit 0 + ;; + "right") + key Return + exit 0 + ;; + "upright") + key Ctrl+t + exit 0 + ;; + "left") + key b + exit 0 + ;; + "downleft") + key Ctrl+w + exit 0 + ;; + esac + ;; esac esac diff --git a/scripts/core/sxmo_lisgdstart.sh b/scripts/core/sxmo_lisgdstart.sh index fab8a84..cad6c95 100755 --- a/scripts/core/sxmo_lisgdstart.sh +++ b/scripts/core/sxmo_lisgdstart.sh @@ -47,6 +47,10 @@ else -g '1,LR,*,*,sxmo_inputhandler.sh right' \ -g '1,DU,*,*,sxmo_inputhandler.sh up' \ -g '1,UD,*,*,sxmo_inputhandler.sh down' \ + -g '1,DRUL,*,*,sxmo_inputhandler.sh upleft' \ + -g '1,URDL,*,*,sxmo_inputhandler.sh downleft' \ + -g '1,DLUR,*,*,sxmo_inputhandler.sh upright' \ + -g '1,ULDR,*,*,sxmo_inputhandler.sh downright' \ -g '2,RL,*,*,sxmo_inputhandler.sh twoleft' \ -g '2,LR,*,*,sxmo_inputhandler.sh tworight' \ -g '2,DU,*,*,sxmo_inputhandler.sh twoup' \