From ca6c2a19f595487e3eac053f78400d341ba23adf Mon Sep 17 00:00:00 2001 From: "Deployment Bot (from Travis CI)" Date: Mon, 28 Jan 2019 01:27:35 +0000 Subject: [PATCH] Deploy felis/USB_Host_Shield_2.0 to github.com/felis/USB_Host_Shield_2.0.git:gh-pages --- hidboot_8cpp_source.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hidboot_8cpp_source.html b/hidboot_8cpp_source.html index f987cd26..7e281784 100644 --- a/hidboot_8cpp_source.html +++ b/hidboot_8cpp_source.html @@ -247,7 +247,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
160 const uint8_t KeyboardReportParser::numKeys[10] PROGMEM = {'!', '@', '#', '$', '%', '^', '&', '*', '(', ')'};
161 const uint8_t KeyboardReportParser::symKeysUp[12] PROGMEM = {'_', '+', '{', '}', '|', '~', ':', '"', '~', '<', '>', '?'};
162 const uint8_t KeyboardReportParser::symKeysLo[12] PROGMEM = {'-', '=', '[', ']', '\\', ' ', ';', '\'', '`', ',', '.', '/'};
-
163 const uint8_t KeyboardReportParser::padKeys[5] PROGMEM = {'/', '*', '-', '+', 0x13};
+
163 const uint8_t KeyboardReportParser::padKeys[5] PROGMEM = {'/', '*', '-', '+', '\r'};
164 
165 uint8_t KeyboardReportParser::OemToAscii(uint8_t mod, uint8_t key) {
166  uint8_t shift = (mod & 0x22);
@@ -279,7 +279,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
192  else {
193  switch(key) {
194  case UHS_HID_BOOT_KEY_SPACE: return (0x20);
-
195  case UHS_HID_BOOT_KEY_ENTER: return (0x13);
+
195  case UHS_HID_BOOT_KEY_ENTER: return ('\r'); // Carriage return (0x0D)
196  case UHS_HID_BOOT_KEY_ZERO2: return ((kbdLockingKeys.kbdLeds.bmNumLock == 1) ? '0': 0);
197  case UHS_HID_BOOT_KEY_PERIOD: return ((kbdLockingKeys.kbdLeds.bmNumLock == 1) ? '.': 0);
198  }