diff options
author | Devaev Maxim <[email protected]> | 2019-10-01 03:10:18 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-10-01 03:10:18 +0300 |
commit | 816437ac63c3641f7839ec6c1e062c3fd703bad9 (patch) | |
tree | bee8d23f303774e5b9a7005d739e34e97dbe9d17 /kvmd/apps/otg/hid/__init__.py | |
parent | 41ae2b89b5bfd2022996df8c21efddd862b985bb (diff) |
refactoring
Diffstat (limited to 'kvmd/apps/otg/hid/__init__.py')
-rw-r--r-- | kvmd/apps/otg/hid/__init__.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/kvmd/apps/otg/hid/__init__.py b/kvmd/apps/otg/hid/__init__.py new file mode 100644 index 00000000..e5f34641 --- /dev/null +++ b/kvmd/apps/otg/hid/__init__.py @@ -0,0 +1,32 @@ +# ========================================================================== # +# # +# KVMD - The main Pi-KVM daemon. # +# # +# Copyright (C) 2018 Maxim Devaev <[email protected]> # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see <https://www.gnu.org/licenses/>. # +# # +# ========================================================================== # + + +import dataclasses + + +# ===== [email protected](frozen=True) +class Hid: + protocol: int + subclass: int + report_length: int + report_descriptor: bytes |