Linux
1
Вклад в тег
#!/bin/bash
nova_mouse_id=$(xinput list | grep pointer | grep NOVA | grep -o [0-9][0-9])
xinput set-prop $nova_mouse_id 'Evdev Wheel Emulation' 1
xinput set-prop $nova_mouse_id 'Evdev Wheel Emulation Axes' 6 7 4 5
xinput set-prop $nova_mouse_id 'Evdev Wheel Emulation Button' 3
xinput list
xinput set-prop $mouse_id 'Evdev Wheel Emulation' 1
xinput set-prop $mouse_id 'Evdev Wheel Emulation Axes' 6 7 4 5
xinput set-prop $mouse_id 'Evdev Wheel Emulation Button' 3