#!/bin/bash
+# shellcheck source=/a/bin/ds/.bashrc
if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi
set -x
# Copyright (C) 2016 Ian Kelling
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