From fdce63b268579f4b847980172d113577de28900e Mon Sep 17 00:00:00 2001 From: samveen Date: Mon, 16 Dec 2019 23:01:26 +0530 Subject: [tusb]fix typo in comment --- src/class/hid/hid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/class') diff --git a/src/class/hid/hid.h b/src/class/hid/hid.h index a3a9ffc88..cb5e60474 100644 --- a/src/class/hid/hid.h +++ b/src/class/hid/hid.h @@ -180,7 +180,7 @@ typedef enum /// Standard HID Boot Protocol Keyboard Report. typedef struct TU_ATTR_PACKED { - uint8_t modifier; /**< Keyboard modifier (KEYBOARD_MODIFER_* masks). */ + uint8_t modifier; /**< Keyboard modifier (KEYBOARD_MODIFIER_* masks). */ uint8_t reserved; /**< Reserved for OEM use, always set to 0. */ uint8_t keycode[6]; /**< Key codes of the currently pressed keys. */ } hid_keyboard_report_t; -- cgit v1.3.1 From ba8a2329700059a52594efdfe8d0f98018e02fc7 Mon Sep 17 00:00:00 2001 From: samveen Date: Tue, 17 Dec 2019 12:47:05 +0530 Subject: add "`" and "~" to keycode -> ASCII table --- src/class/hid/hid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/class') diff --git a/src/class/hid/hid.h b/src/class/hid/hid.h index cb5e60474..7fa4aa8ab 100644 --- a/src/class/hid/hid.h +++ b/src/class/hid/hid.h @@ -812,7 +812,7 @@ enum {'#' , '~' }, /* 0x32 */ \ {';' , ':' }, /* 0x33 */ \ {'\'' , '\"' }, /* 0x34 */ \ - {0 , 0 }, /* 0x35 */ \ + {'`' , '~' }, /* 0x35 */ \ {',' , '<' }, /* 0x36 */ \ {'.' , '>' }, /* 0x37 */ \ {'/' , '?' }, /* 0x38 */ \ -- cgit v1.3.1