mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Fix usb-hid for linux and android devices (#74)
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user