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