Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBHOST by
Revision 7:ccd0ac9ae1c9, committed 2018-07-02
- Comitter:
- shivanandgowdakr
- Date:
- Mon Jul 02 12:10:45 2018 +0000
- Parent:
- 6:d3ac9e1c0035
- Commit message:
- USB BARCODE READER ;
Changed in this revision
USBHostHID/USBHostKeyboard.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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*/