|
|
@ -17,8 +17,7 @@ rotnormal() { |
|
|
|
pkill "$KEYBOARD" |
|
|
|
pkill "$KEYBOARD" |
|
|
|
xrandr -o normal |
|
|
|
xrandr -o normal |
|
|
|
applyptrmatrix 0 0 0 0 0 0 0 0 0 |
|
|
|
applyptrmatrix 0 0 0 0 0 0 0 0 0 |
|
|
|
pkill lisgd |
|
|
|
pidof lisgd && pkill lisgd | sxmo_lisgdstart.sh -o 0 & |
|
|
|
sxmo_lisgdstart.sh -o 0 & |
|
|
|
|
|
|
|
exit 0 |
|
|
|
exit 0 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -26,8 +25,7 @@ rotright() { |
|
|
|
pkill "$KEYBOARD" |
|
|
|
pkill "$KEYBOARD" |
|
|
|
xrandr -o right |
|
|
|
xrandr -o right |
|
|
|
applyptrmatrix 0 1 0 -1 0 1 0 0 1 |
|
|
|
applyptrmatrix 0 1 0 -1 0 1 0 0 1 |
|
|
|
pkill lisgd |
|
|
|
pidof lisgd && pkill lisgd | sxmo_lisgdstart.sh -o 1 & |
|
|
|
sxmo_lisgdstart.sh -o 1 & |
|
|
|
|
|
|
|
exit 0 |
|
|
|
exit 0 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -35,8 +33,7 @@ rotleft() { |
|
|
|
pkill "$KEYBOARD" |
|
|
|
pkill "$KEYBOARD" |
|
|
|
xrandr -o left |
|
|
|
xrandr -o left |
|
|
|
applyptrmatrix 0 -1 1 1 0 0 0 0 1 |
|
|
|
applyptrmatrix 0 -1 1 1 0 0 0 0 1 |
|
|
|
pkill lisgd |
|
|
|
pidof lisgd && pkill lisgd | sxmo_lisgdstart.sh -o -1 & |
|
|
|
sxmo_lisgdstart.sh -o -1 & |
|
|
|
|
|
|
|
exit 0 |
|
|
|
exit 0 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|