USB BARCODE READER

Fork of USBHOST by ST

Revision:
7:ccd0ac9ae1c9
Parent:
5:fc157e6bd5a5
--- a/USBHostHID/USBHostKeyboard.cpp	Wed Apr 26 20:08:31 2017 +0000
+++ b/USBHostHID/USBHostKeyboard.cpp	Mon Jul 02 12:10:45 2018 +0000
@@ -19,12 +19,25 @@
 #if USBHOST_KEYBOARD
 
 static uint8_t keymap[4][0x39] = {
-    { 0, 0, 0, 0, 'a', 'b' /*0x05*/,
-      'c', 'd', 'e', 'f', 'g' /*0x0a*/,
-      'h', 'i', 'j', 'k', 'l'/*0x0f*/,
-      'm', 'n', 'o', 'p', 'q'/*0x14*/,
-      'r', 's', 't', 'u', 'v'/*0x19*/,
-      'w', 'x', 'y', 'z', '1'/*0x1E*/,
+    //{ 0, 0, 0, 0, 'a', 'b' /*0x05*/,
+//      'c', 'd', 'e', 'f', 'g' /*0x0a*/,
+//      'h', 'i', 'j', 'k', 'l'/*0x0f*/,
+//      'm', 'n', 'o', 'p', 'q'/*0x14*/,
+//      'r', 's', 't', 'u', 'v'/*0x19*/,
+//      'w', 'x', 'y', 'z', '1'/*0x1E*/,
+//      '2', '3', '4', '5', '6'/*0x23*/,
+//      '7', '8', '9', '0', 0x0A /*enter*/, /*0x28*/
+//      0x1B /*escape*/, 0x08 /*backspace*/, 0x09/*tab*/, 0x20/*space*/, '-', /*0x2d*/
+//      '=', '[', ']', '\\', '#', /*0x32*/
+//      ';', '\'', 0, ',', '.', /*0x37*/
+//      '/'},
+      
+       { 0, 0, 0, 0, 'A', 'B' /*0x05*/,
+      'C', 'D', 'E', 'F', 'G' /*0x0a*/,
+      'H', 'I', 'J', 'K', 'L'/*0x0f*/,
+      'M', 'N', 'O', 'P', 'Q'/*0x14*/,
+      'R', 'S', 'T', 'U', 'V'/*0x19*/,
+      'W', 'X', 'Y', 'Z', '1'/*0x1E*/,
       '2', '3', '4', '5', '6'/*0x23*/,
       '7', '8', '9', '0', 0x0A /*enter*/, /*0x28*/
       0x1B /*escape*/, 0x08 /*backspace*/, 0x09/*tab*/, 0x20/*space*/, '-', /*0x2d*/