summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-03-30 21:26:35 +0700
committerhathach <[email protected]>2021-03-30 21:26:35 +0700
commit89a911ee43f2c7a17303b58739dc8b22cbd56294 (patch)
treeae3aed66369f7bd76215cf228053d1fd1e2ecd9a /src
parentd135825e9ca36bcf50b3476e5dfdc1f74ae1c101 (diff)
correct hid key enter = 0x28, return = 0x9E
Diffstat (limited to 'src')
-rw-r--r--src/class/hid/hid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid.h b/src/class/hid/hid.h
index 79b4f48bf..351a4d600 100644
--- a/src/class/hid/hid.h
+++ b/src/class/hid/hid.h
@@ -340,7 +340,7 @@ typedef enum
#define HID_KEY_8 0x25
#define HID_KEY_9 0x26
#define HID_KEY_0 0x27
-#define HID_KEY_RETURN 0x28
+#define HID_KEY_ENTER 0x28
#define HID_KEY_ESCAPE 0x29
#define HID_KEY_BACKSPACE 0x2A
#define HID_KEY_TAB 0x2B