summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuncheng Lu <[email protected]>2025-05-06 23:17:41 +0800
committersakumisu <[email protected]>2025-05-07 09:21:31 +0800
commit609305a28fea79386063cf44e3d7583f69f9c841 (patch)
treea2332f480e4644db0100bf2a64850d2d9f24fc0b
parentd4dfb03afcc4622fb1e00c6df4aa9d9314b2c7ce (diff)
class: hid: Fix typo: MODIFER → MODIFIER
Signed-off-by: Runcheng Lu <[email protected]>
-rw-r--r--class/hid/usb_hid.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/class/hid/usb_hid.h b/class/hid/usb_hid.h
index 62525a74..ea6c0f25 100644
--- a/class/hid/usb_hid.h
+++ b/class/hid/usb_hid.h
@@ -169,14 +169,14 @@
#define HID_LOCAL_ITEM_DELIMITER_PREFIX 0xa8 /* Delimiter */
/* Modifier Keys (HID 8.3) */
-#define HID_MODIFER_LCTRL (1 << 0) /* Left Ctrl */
-#define HID_MODIFER_LSHIFT (1 << 1) /* Left Shift */
-#define HID_MODIFER_LALT (1 << 2) /* Left Alt */
-#define HID_MODIFER_LGUI (1 << 3) /* Left GUI */
-#define HID_MODIFER_RCTRL (1 << 4) /* Right Ctrl */
-#define HID_MODIFER_RSHIFT (1 << 5) /* Right Shift */
-#define HID_MODIFER_RALT (1 << 6) /* Right Alt */
-#define HID_MODIFER_RGUI (1 << 7) /* Right GUI */
+#define HID_MODIFIER_LCTRL (1 << 0) /* Left Ctrl */
+#define HID_MODIFIER_LSHIFT (1 << 1) /* Left Shift */
+#define HID_MODIFIER_LALT (1 << 2) /* Left Alt */
+#define HID_MODIFIER_LGUI (1 << 3) /* Left GUI */
+#define HID_MODIFIER_RCTRL (1 << 4) /* Right Ctrl */
+#define HID_MODIFIER_RSHIFT (1 << 5) /* Right Shift */
+#define HID_MODIFIER_RALT (1 << 6) /* Right Alt */
+#define HID_MODIFIER_RGUI (1 << 7) /* Right GUI */
/* Keyboard output report (1 byte) (HID B.1) */
#define HID_KBD_OUTPUT_REPORT_NUMLOCK (1 << 0)