mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-28 16:41:52 +08:00
enabled relative mouse by default on all v2+ configurations
This commit is contained in:
@@ -17,8 +17,6 @@ kvmd:
|
|||||||
|
|
||||||
hid:
|
hid:
|
||||||
type: otg
|
type: otg
|
||||||
mouse_alt:
|
|
||||||
device: /dev/kvmd-hid-mouse-alt
|
|
||||||
|
|
||||||
atx:
|
atx:
|
||||||
type: gpio
|
type: gpio
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ kvmd:
|
|||||||
|
|
||||||
hid:
|
hid:
|
||||||
type: otg
|
type: otg
|
||||||
mouse_alt:
|
|
||||||
device: /dev/kvmd-hid-mouse-alt
|
|
||||||
|
|
||||||
atx:
|
atx:
|
||||||
type: gpio
|
type: gpio
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes
|
|||||||
"horizontal_wheel": Option(True, type=valid_bool),
|
"horizontal_wheel": Option(True, type=valid_bool),
|
||||||
},
|
},
|
||||||
"mouse_alt": {
|
"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),
|
"select_timeout": Option(0.1, type=valid_float_f01),
|
||||||
"queue_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),
|
"write_retries": Option(150, type=valid_int_f1),
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ kvmd:
|
|||||||
mouse:
|
mouse:
|
||||||
device: /dev/null
|
device: /dev/null
|
||||||
# absolute_win98_fix: true
|
# absolute_win98_fix: true
|
||||||
# mouse_alt:
|
mouse_alt:
|
||||||
# device: /dev/null
|
device: /dev/null
|
||||||
noop: true
|
noop: true
|
||||||
|
|
||||||
msd:
|
msd:
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ kvmd:
|
|||||||
device: /dev/null
|
device: /dev/null
|
||||||
mouse:
|
mouse:
|
||||||
device: /dev/null
|
device: /dev/null
|
||||||
|
mouse_alt:
|
||||||
|
device: /dev/null
|
||||||
noop: true
|
noop: true
|
||||||
|
|
||||||
msd:
|
msd:
|
||||||
|
|||||||
Reference in New Issue
Block a user