hid fixes

This commit is contained in:
Devaev Maxim
2019-09-29 05:39:25 +03:00
parent 1968aca5c4
commit 8f43d23089
3 changed files with 28 additions and 44 deletions

View File

@@ -136,7 +136,6 @@ class KeyboardProcess(DeviceProcess):
for key in self.__pressed_keys
]
print(self.__pressed_modifiers, self.__pressed_keys)
ok = self._write_report(bytes([modifiers, 0] + keys))
if not ok: