X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=input-setup;h=46520b949b91720d21bbe29a9f3e52cbe15e994f;hb=d67edcdca8795a4bca116aa532d02dda246a6f53;hp=8085d074feb85b49ff72025c26081c62033055ba;hpb=a9e3d60b4254cd5c6216c4b3e7f8cd5cc5107fad;p=distro-setup diff --git a/input-setup b/input-setup index 8085d07..46520b9 100755 --- a/input-setup +++ b/input-setup @@ -1,4 +1,5 @@ #!/bin/bash +# shellcheck source=/a/bin/ds/.bashrc if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi set -x # Copyright (C) 2016 Ian Kelling @@ -90,11 +91,11 @@ if set_device_id "Logitech Unifying Device"; then xinput --set-prop "$device_id" 'Evdev Middle Button Emulation' 1 fi -# slow down ploopy trackball, until we recompile firmware -id=$(xinput list | grep -F 'Ploopy Corporation Trackball Mouse' | sed -rn 's/.*[[:space:]]id=([^[:space:]]*).*/\1/p' ||:) -if [[ $id ]]; then - xinput --set-prop $id 'libinput Accel Speed' -0.9 -fi +## slow down ploopy trackball, until we recompile firmware +# id=$(xinput list | grep -F 'Ploopy Corporation Trackball Mouse' | sed -rn 's/.*[[:space:]]id=([^[:space:]]*).*/\1/p' ||:) +# if [[ $id ]]; then +# xinput --set-prop $id 'libinput Accel Speed' -0.9 +# fi set +x exit 0