diff options
author | Devaev Maxim <[email protected]> | 2020-11-22 04:54:03 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-11-22 04:54:03 +0300 |
commit | 6a8ee1a11470fe6572c0ca224ec370f2b4752be0 (patch) | |
tree | 0964f3545b217fda25dec791ae4523f53de5d311 /kvmd/apps | |
parent | 5a5e3a3cc96bd9f7e5b589db11ed1ff783a7d12d (diff) |
refactoring
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/__init__.py | 5 | ||||
-rw-r--r-- | kvmd/apps/kvmd/api/hid.py | 12 |
2 files changed, 9 insertions, 8 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index b8a4c160..3190f62c 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -84,11 +84,12 @@ from ..validators.net import valid_ports_list from ..validators.net import valid_mac from ..validators.net import valid_ssl_ciphers +from ..validators.hid import valid_hid_key +from ..validators.hid import valid_hid_mouse_move + from ..validators.kvm import valid_stream_quality from ..validators.kvm import valid_stream_fps from ..validators.kvm import valid_stream_resolution -from ..validators.kvm import valid_hid_key -from ..validators.kvm import valid_hid_mouse_move from ..validators.kvm import valid_ugpio_driver from ..validators.kvm import valid_ugpio_channel from ..validators.kvm import valid_ugpio_mode diff --git a/kvmd/apps/kvmd/api/hid.py b/kvmd/apps/kvmd/api/hid.py index bedc01c8..a988ab34 100644 --- a/kvmd/apps/kvmd/api/hid.py +++ b/kvmd/apps/kvmd/api/hid.py @@ -38,12 +38,12 @@ from ....validators import raise_error from ....validators.basic import valid_bool from ....validators.basic import valid_int_f0 from ....validators.os import valid_printable_filename -from ....validators.kvm import valid_hid_keyboard_output -from ....validators.kvm import valid_hid_mouse_output -from ....validators.kvm import valid_hid_key -from ....validators.kvm import valid_hid_mouse_move -from ....validators.kvm import valid_hid_mouse_button -from ....validators.kvm import valid_hid_mouse_delta +from ....validators.hid import valid_hid_keyboard_output +from ....validators.hid import valid_hid_mouse_output +from ....validators.hid import valid_hid_key +from ....validators.hid import valid_hid_mouse_move +from ....validators.hid import valid_hid_mouse_button +from ....validators.hid import valid_hid_mouse_delta from ....keyboard.keysym import build_symmap from ....keyboard.printer import text_to_web_keys |