Use the new -s argument to help lisgd edge detection

The Kobo Clara HD is a device with a very HiDPI screen. It have a
1448x1072 but with a 4 inches screen. Without this change, it is very
difficult to trigger some edge triggers.
This commit is contained in:
Willow Barraco
2023-10-15 19:58:29 +02:00
parent 4e0715d87a
commit 0de5c282ab
2 changed files with 2 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ fi
# fingers,swipe,edge,distance,command
#order matters, only the first match gets executed
lisgd "$@" -d "$LISGD_INPUT_DEVICE" ${orientation:+-o $orientation} \
-t "$LISGD_THRESHOLD" -T "$LISGD_THRESHOLD_PRESSED" \
-s "${LISGD_EDGE_SIZE:-1.0}" -t "$LISGD_THRESHOLD" -T "$LISGD_THRESHOLD_PRESSED" \
-g "1,DRUL,BR,*,setsid -f sxmo_hook_inputhandler.sh bottomrightcorner" \
-g "1,DLUR,BL,*,setsid -f sxmo_hook_inputhandler.sh bottomleftcorner" \
-g "1,ULDR,TL,*,setsid -f sxmo_hook_inputhandler.sh topleftcorner" \

View File

@@ -12,3 +12,4 @@ export SXMO_ROTATE_DIRECTION="left"
export SXMO_ROTATE_START=1
export SXMO_MIN_BRIGHTNESS=0 # to disable all backlight
export SXMO_NO_MODEM=1
export LISGD_EDGE_SIZE="2.0"