summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-02-05 02:10:40 +0300
committerDevaev Maxim <[email protected]>2020-02-05 02:10:40 +0300
commit5b2eb6892fc8a1e21b69a68f650161f67c83798e (patch)
treef4c7a811d04bc29744a4dd78c33932170529ec00 /kvmd
parent9d45d2060c627ba4132313d2989d54a371c2322b (diff)
comments
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/apps/otg/hid/keyboard.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/apps/otg/hid/keyboard.py b/kvmd/apps/otg/hid/keyboard.py
index ff9f1189..35c0af30 100644
--- a/kvmd/apps/otg/hid/keyboard.py
+++ b/kvmd/apps/otg/hid/keyboard.py
@@ -47,7 +47,7 @@ KEYBOARD_HID = Hid(
0x25, 0x01, # LOGICAL_MAXIMUM (1)
0x75, 0x01, # REPORT_SIZE (1)
0x95, 0x08, # REPORT_COUNT (8)
- 0x81, 0x02, # INPUT (Data,Var,Abs)
+ 0x81, 0x02, # INPUT (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
# Reserved byte
0x95, 0x01, # REPORT_COUNT (1)
@@ -60,7 +60,7 @@ KEYBOARD_HID = Hid(
0x05, 0x08, # USAGE_PAGE (LEDs)
0x19, 0x01, # USAGE_MINIMUM (Num Lock)
0x29, 0x05, # USAGE_MAXIMUM (Kana)
- 0x91, 0x02, # OUTPUT (Data,Var,Abs)
+ 0x91, 0x02, # OUTPUT (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
# Reserved 3 bits in output
0x95, 0x01, # REPORT_COUNT (1)
@@ -75,7 +75,7 @@ KEYBOARD_HID = Hid(
0x05, 0x07, # USAGE_PAGE (Keyboard)
0x19, 0x00, # USAGE_MINIMUM (Reserved)
0x2A, 0xFF, 0x00, # USAGE_MAXIMUM (0xFF)
- 0x81, 0x00, # INPUT (Data,Ary,Abs)
+ 0x81, 0x00, # INPUT (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
0xC0, # END_COLLECTION
]),