enabled relative mouse by default on all v2+ configurations

This commit is contained in:
Maxim Devaev 2025-03-01 18:54:59 +02:00
parent 9fdb861048
commit ec9c12ffcc
5 changed files with 5 additions and 7 deletions

View File

@ -17,8 +17,6 @@ kvmd:
hid:
type: otg
mouse_alt:
device: /dev/kvmd-hid-mouse-alt
atx:
type: gpio

View File

@ -17,8 +17,6 @@ kvmd:
hid:
type: otg
mouse_alt:
device: /dev/kvmd-hid-mouse-alt
atx:
type: gpio

View File

@ -110,7 +110,7 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes
"horizontal_wheel": Option(True, type=valid_bool),
},
"mouse_alt": {
"device": Option("", type=valid_abs_path, if_empty="", unpack_as="device_path"),
"device": Option("/dev/kvmd-hid-mouse-alt", type=valid_abs_path, if_empty="", unpack_as="device_path"),
"select_timeout": Option(0.1, type=valid_float_f01),
"queue_timeout": Option(0.1, type=valid_float_f01),
"write_retries": Option(150, type=valid_int_f1),

View File

@ -11,8 +11,8 @@ kvmd:
mouse:
device: /dev/null
# absolute_win98_fix: true
# mouse_alt:
# device: /dev/null
mouse_alt:
device: /dev/null
noop: true
msd:

View File

@ -10,6 +10,8 @@ kvmd:
device: /dev/null
mouse:
device: /dev/null
mouse_alt:
device: /dev/null
noop: true
msd: