|
|
|
@ -5,6 +5,7 @@ function _xinit_setup_xinput() {
|
|
|
|
|
|
|
|
|
|
_xinit_setup_xinput_touchpad
|
|
|
|
|
_xinit_setup_xinput_trackman_marble
|
|
|
|
|
_xinit_setup_xinput_touchscreen
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function _xinit_setup_xinput_touchpad() {
|
|
|
|
@ -16,6 +17,16 @@ function _xinit_setup_xinput_touchpad() {
|
|
|
|
|
'libinput Natural Scrolling Enabled' 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function _xinit_setup_xinput_touchscreen() {
|
|
|
|
|
if ! xinput list-props \
|
|
|
|
|
'Wacom Pen and multitouch sensor Finger' >/dev/null; then
|
|
|
|
|
return
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
xinput set-prop 'Wacom Pen and multitouch sensor Finger' \
|
|
|
|
|
'Device Enabled' 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function _xinit_setup_xinput_trackman_marble() {
|
|
|
|
|
if ! xinput list-props 'Logitech USB Trackball' >/dev/null; then
|
|
|
|
|
return
|
|
|
|
|