refactoring

This commit is contained in:
Maxim Devaev
2022-04-06 00:39:16 +03:00
parent 8ce08fb456
commit 6f6772a6b6
16 changed files with 68 additions and 69 deletions

View File

@@ -36,6 +36,13 @@ from aiohttp.web import WebSocketResponse
from ....mouse import MouseRange
from ....keyboard.keysym import build_symmap
from ....keyboard.printer import text_to_web_keys
from ....htserver import exposed_http
from ....htserver import exposed_ws
from ....htserver import make_json_response
from ....plugins.hid import BaseHid
from ....validators import raise_error
@@ -49,13 +56,6 @@ 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
from ..http import exposed_http
from ..http import exposed_ws
from ..http import make_json_response
# =====
class HidApi: