blob: b707549c7ebeefe10f5bbaba13726e3c883d8832 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
# See:
# https://wiki.archlinux.org/title/Libinput
# https://man.archlinux.org/man/libinput.4
# https://wiki.archlinux.org/title/Mouse_acceleration
# Useful commands:
# $ lsusb
# $ xinput list
# $ xinput list-props "device_name or id"
pulse15() {
xinput set-prop "UNIW0001:00 093A:0255 Touchpad" "libinput Tapping Enabled" 1
#xinput set-prop "UNIW0001:00 093A:0255 Touchpad" "libinput Tapping Enabled Default" 1
# Mice
# 3-bit prop meanings for convenience (see libinput man for more info):
# * "profile": adaptive, flat, custom
# * "scroll method": twofinger, edge, button
# Buffalo BSMBU19 (125 Hz)
xinput set-prop "HID 1bcf:08a0 Mouse" "libinput Accel Profile Enabled" 1 0 0
xinput set-prop "HID 1bcf:08a0 Mouse" "libinput Accel Speed" .5
xinput set-prop "HID 1bcf:08a0 Mouse" "libinput Scroll Method Enabled" 0 0 1
}
pulse15
|