mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
enabled relative mouse by default on all v2+ configurations
This commit is contained in:
@@ -17,8 +17,6 @@ kvmd:
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
mouse_alt:
|
||||
device: /dev/kvmd-hid-mouse-alt
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
@@ -17,8 +17,6 @@ kvmd:
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
mouse_alt:
|
||||
device: /dev/kvmd-hid-mouse-alt
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -10,6 +10,8 @@ kvmd:
|
||||
device: /dev/null
|
||||
mouse:
|
||||
device: /dev/null
|
||||
mouse_alt:
|
||||
device: /dev/null
|
||||
noop: true
|
||||
|
||||
msd:
|
||||
|
||||
Reference in New Issue
Block a user