mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
default values for the otg hid plugin
This commit is contained in:
parent
8e2688d820
commit
267aef7790
@ -11,10 +11,6 @@ kvmd:
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
keyboard:
|
||||
device: /dev/kvmd-hid-keyboard
|
||||
mouse:
|
||||
device: /dev/kvmd-hid-mouse
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
@ -11,10 +11,6 @@ kvmd:
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
keyboard:
|
||||
device: /dev/kvmd-hid-keyboard
|
||||
mouse:
|
||||
device: /dev/kvmd-hid-mouse
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
@ -11,10 +11,6 @@ kvmd:
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
keyboard:
|
||||
device: /dev/kvmd-hid-keyboard
|
||||
mouse:
|
||||
device: /dev/kvmd-hid-mouse
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
@ -11,10 +11,6 @@ kvmd:
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
keyboard:
|
||||
device: /dev/kvmd-hid-keyboard
|
||||
mouse:
|
||||
device: /dev/kvmd-hid-mouse
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
@ -11,10 +11,6 @@ kvmd:
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
keyboard:
|
||||
device: /dev/kvmd-hid-keyboard
|
||||
mouse:
|
||||
device: /dev/kvmd-hid-mouse
|
||||
|
||||
atx:
|
||||
type: disabled
|
||||
|
||||
@ -11,10 +11,6 @@ kvmd:
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
keyboard:
|
||||
device: /dev/kvmd-hid-keyboard
|
||||
mouse:
|
||||
device: /dev/kvmd-hid-mouse
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
@ -15,10 +15,6 @@ kvmd:
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
keyboard:
|
||||
device: /dev/kvmd-hid-keyboard
|
||||
mouse:
|
||||
device: /dev/kvmd-hid-mouse
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
@ -88,13 +88,13 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes
|
||||
def get_plugin_options(cls) -> Dict:
|
||||
return {
|
||||
"keyboard": {
|
||||
"device": Option("", type=valid_abs_path, unpack_as="device_path"),
|
||||
"device": Option("/dev/kvmd-hid-keyboard", type=valid_abs_path, 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),
|
||||
},
|
||||
"mouse": {
|
||||
"device": Option("", type=valid_abs_path, unpack_as="device_path"),
|
||||
"device": Option("/dev/kvmd-hid-mouse", type=valid_abs_path, 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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user