about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-05-13T15·40+0100
committerWilliam Carroll <wpcarro@gmail.com>2019-05-13T15·40+0100
commit01b985fdd9d2d2798c428c3c86942ca3e6289273 (patch)
tree2afd6375b5ab95f1af5f2cb1ab83df5515ba32e5 /configs
parent6fba42e30644c6872fa54812250d0150ece538d0 (diff)
Support external mouse for laptop
New hardware = new configuration.
Diffstat (limited to 'configs')
-rw-r--r--configs/laptop/x_server/.xsessionrc.device10
1 files changed, 8 insertions, 2 deletions
diff --git a/configs/laptop/x_server/.xsessionrc.device b/configs/laptop/x_server/.xsessionrc.device
index 83ee8caaca19..97c19f216086 100644
--- a/configs/laptop/x_server/.xsessionrc.device
+++ b/configs/laptop/x_server/.xsessionrc.device
@@ -1,8 +1,14 @@
-# setup OSX style scrolling for laptop
+# natural scrolling - trackpad
 xinput --set-prop 'DLL07BF:01 06CB:7A13 Touchpad' 'libinput Natural Scrolling Enabled' 1
 
-# increase cursor speed
+# increase cursor speed - trackpad
 xinput --set-prop 'DLL07BF:01 06CB:7A13 Touchpad' 'libinput Accel Speed' 1
 
+# natural scrolling - mouse
+xinput --set-prop 'Logitech USB Receiver Mouse' 'libinput Natural Scrolling Enabled' 1
+
+# increase cursor speed - mouse
+xinput --set-prop 'Logitech USB Receiver Mouse' 'libinput Accel Speed' 1
+
 # disable touchscreen on laptop
 xinput disable 'ELAN Touchscreen'