Fix usb-hid for linux and android devices (#74)

This commit is contained in:
tiopex
2024-01-03 08:48:26 +01:00
committed by GitHub
parent b0130e4097
commit 40a58380b6

View File

@@ -60,7 +60,7 @@ def write_pressed_keys(e):
return
keys =''.join(chr(key) for key in all_keys)
write_report(chr(special_keys)+NULL_CHAR+keys+NULL_CHAR*5)
write_report(chr(special_keys)+NULL_CHAR+keys+NULL_CHAR*(6 - len(all_keys)))
print("Press RESET button to quit")