summaryrefslogtreecommitdiff
path: root/ar/.local/bin/remaps
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.local/bin/remaps')
-rwxr-xr-xar/.local/bin/remaps16
1 files changed, 2 insertions, 14 deletions
diff --git a/ar/.local/bin/remaps b/ar/.local/bin/remaps
index 11f01b2..eb55dba 100755
--- a/ar/.local/bin/remaps
+++ b/ar/.local/bin/remaps
@@ -39,24 +39,12 @@ xinput list | grep 'id=' | while read -r line; do
*"SynPS/2 Synaptics TouchPad"*)
xinput set-prop "$mouse" "libinput Tapping Enabled" 0
;;
- *"Lenovo TrackPoint Keyboard II"*)
- [ -z "$1" ] && xinput set-prop "$mouse" "Coordinate Transformation Matrix" 5, 0, 0, 0, 5, 0, 0, 0, 1 || xinput set-prop "$mouse" "Coordinate Transformation Matrix" $1, 0, 0, 0, $1, 0, 0, 0, 1
- ;;
*"Lite-On Tech Lenovo USB Travel Keyboard with Ultra Nav Mouse"*)
[ -z "$1" ] && xinput set-prop "$mouse" "Coordinate Transformation Matrix" 5, 0, 0, 0, 5, 0, 0, 0, 1 || xinput set-prop "$mouse" "Coordinate Transformation Matrix" $1, 0, 0, 0, $1, 0, 0, 0, 1
xinput set-prop "$mouse" "libinput Scroll Method Enabled" 0, 0, 1
;;
- *"Logitech USB Receiver"*)
- [ -z "$1" ] && xinput set-prop "$mouse" "Coordinate Transformation Matrix" 3, 0, 0, 0, 3, 0, 0, 0, 1 || xinput set-prop "$mouse" "Coordinate Transformation Matrix" $1, 0, 0, 0, $1, 0, 0, 0, 1
- ;;
- *"TPPS/2 IBM TrackPoint"*)
- [ -z "$1" ] && xinput set-prop "$mouse" "Coordinate Transformation Matrix" 1, 0, 0, 0, 1, 0, 0, 0, 1 || xinput set-prop "$mouse" "Coordinate Transformation Matrix" $1, 0, 0, 0, $1, 0, 0, 0, 1
- ;;
- *"Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint"*)
- [ -z "$1" ] && xinput set-prop "$mouse" "Coordinate Transformation Matrix" 3, 0, 0, 0, 3, 0, 0, 0, 1 || xinput set-prop "$mouse" "Coordinate Transformation Matrix" $1, 0, 0, 0, $1, 0, 0, 0, 1
- ;;
- *"Glove80 Mouse"*)
- [ -z "$1" ] && xinput set-prop "$mouse" "Coordinate Transformation Matrix" 2, 0, 0, 0, 2, 0, 0, 0, 1 || xinput set-prop "$mouse" "Coordinate Transformation Matrix" $1, 0, 0, 0, $1, 0, 0, 0, 1
+ *)
+ [ -z "$1" ] && xinput set-prop "$mouse" "Coordinate Transformation Matrix" 5, 0, 0, 0, 5, 0, 0, 0, 1 || xinput set-prop "$mouse" "Coordinate Transformation Matrix" $1, 0, 0, 0, $1, 0, 0, 0, 1
;;
esac
}