more typos
This commit is contained in:
@@ -13,8 +13,8 @@ for vid in USB_VID:
|
||||
if dev:
|
||||
while True:
|
||||
# Get input from console and encode to UTF8 for array of chars.
|
||||
# hid generic inout is single report therefore by HIDAPI requirement
|
||||
# it must be preceeded with 0x00 as dummy reportID
|
||||
# hid generic in/out is single report therefore by HIDAPI requirement
|
||||
# it must be preceded, with 0x00 as dummy reportID
|
||||
str_out = b'\x00'
|
||||
str_out += input("Send text to HID Device : ").encode('utf-8')
|
||||
dev.write(str_out)
|
||||
|
Reference in New Issue
Block a user