Changeset 7d540c8 in mainline
- Timestamp:
- 2011-01-21T14:24:25Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11797d5
- Parents:
- 50c06df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbkbd/conv.c
r50c06df r7d540c8 32 32 static int scanmap_simple[] = { 33 33 34 [0x29] = KC_BACKTICK,34 // [0x29] = KC_BACKTICK, 35 35 36 [0x02] = KC_1, 37 [0x03] = KC_2, 38 [0x04] = KC_3, 39 [0x05] = KC_4, 40 [0x06] = KC_5, 41 [0x07] = KC_6, 42 // [0x08] = KC_7, 43 [0x09] = KC_8, 44 [0x0a] = KC_9, 45 // [0x0b] = KC_0, 36 // [0x02] = KC_1, 37 // [0x03] = KC_2, 38 [0x04] = KC_A, 39 [0x05] = KC_B, 40 [0x06] = KC_C, 41 [0x07] = KC_D, 42 [0x08] = KC_E, 43 [0x09] = KC_F, 44 [0x0a] = KC_G, 45 [0x0b] = KC_H, 46 [0x0c] = KC_I, 47 [0x0d] = KC_J, 48 [0x0e] = KC_K, 49 [0x0f] = KC_L, 50 [0x10] = KC_M, 51 [0x11] = KC_N, 52 [0x12] = KC_O, 53 [0x13] = KC_P, 54 [0x14] = KC_Q, 55 [0x15] = KC_R, 56 [0x16] = KC_S, 57 [0x17] = KC_T, 58 [0x12] = KC_U, 59 [0x19] = KC_V, 60 [0x1a] = KC_W, 61 [0x1b] = KC_X, 62 [0x1c] = KC_Y, 63 [0x1d] = KC_Z, 46 64 47 [0x0c] = KC_MINUS, 48 [0x0d] = KC_EQUALS, 49 [0x0e] = KC_BACKSPACE, 65 [0x1e] = KC_1, 66 [0x1f] = KC_2, 67 [0x20] = KC_3, 68 [0x21] = KC_4, 69 [0x22] = KC_5, 70 [0x23] = KC_6, 71 [0x24] = KC_7, 72 [0x25] = KC_8, 73 [0x26] = KC_9, 74 [0x27] = KC_0, 75 76 [0x28] = KC_ENTER, 77 [0x29] = KC_ESCAPE, 78 [0x2a] = KC_BACKSPACE, 79 [0x2b] = KC_TAB, 80 [0x2c] = KC_SPACE, 50 81 51 // [0x0f] = KC_TAB, 82 [0x2d] = KC_MINUS, // same as DASH? (- or _) 83 [0x2e] = KC_EQUALS, 84 [0x2f] = KC_LBRACKET, 85 [0x30] = KC_RBRACKET, 86 [0x31] = KC_BACKSLASH, 87 //[0x32] = KC_, // TODO: HASH??? maybe some as 0x31 - backslash 88 [0x33] = KC_SEMICOLON, 89 [0x34] = KC_QUOTE, // same as APOSTROPHE? (') 90 [0x35] = KC_BACKTICK, // same as GRAVE ACCENT?? (`) 91 [0x36] = KC_COMMA, 92 [0x37] = KC_PERIOD, 93 [0x38] = KC_SLASH, 52 94 53 [0x10] = KC_Q, 54 [0x11] = KC_W, 55 [0x08] = KC_E, // OK 56 [0x13] = KC_R, 57 [0x14] = KC_T, 58 [0x15] = KC_Y, 59 [0x16] = KC_U, 60 [0x17] = KC_I, 61 [0x12] = KC_O, // OK 62 [0x19] = KC_P, 63 64 [0x1a] = KC_LBRACKET, 65 [0x1b] = KC_RBRACKET, 66 67 [0x3a] = KC_CAPS_LOCK, 68 69 [0x1e] = KC_A, 70 [0x1f] = KC_S, 71 [0x20] = KC_D, 72 [0x21] = KC_F, 73 [0x22] = KC_G, 74 [0x0B] = KC_H, // OK 75 [0x24] = KC_J, 76 [0x25] = KC_K, 77 [0x0F] = KC_L, // OK 78 79 [0x27] = KC_SEMICOLON, 80 [0x28] = KC_QUOTE, 81 [0x2b] = KC_BACKSLASH, 82 83 [0x2a] = KC_LSHIFT, 84 85 [0x2c] = KC_Z, 86 [0x2d] = KC_X, 87 [0x2e] = KC_C, 88 [0x2f] = KC_V, 89 [0x30] = KC_B, 90 [0x31] = KC_N, 91 [0x32] = KC_M, 92 93 [0x33] = KC_COMMA, 94 [0x34] = KC_PERIOD, 95 [0x35] = KC_SLASH, 96 97 [0x36] = KC_RSHIFT, 98 99 [0x1d] = KC_LCTRL, 100 [0x38] = KC_LALT, 101 [0x39] = KC_SPACE, 102 103 [0x01] = KC_ESCAPE, 104 105 [0x3b] = KC_F1, 106 [0x3c] = KC_F2, 107 [0x3d] = KC_F3, 108 [0x3e] = KC_F4, 109 [0x3f] = KC_F5, 110 [0x40] = KC_F6, 111 [0x41] = KC_F7, 112 113 [0x42] = KC_F8, 114 [0x43] = KC_F9, 115 [0x44] = KC_F10, 116 117 [0x57] = KC_F11, 118 [0x58] = KC_F12, 119 120 [0x46] = KC_SCROLL_LOCK, 121 122 [0x1c] = KC_ENTER, 123 124 [0x45] = KC_NUM_LOCK, 125 [0x37] = KC_NTIMES, 126 [0x4a] = KC_NMINUS, 127 [0x4e] = KC_NPLUS, 128 [0x47] = KC_N7, 129 [0x48] = KC_N8, 130 [0x49] = KC_N9, 131 [0x4b] = KC_N4, 132 [0x4c] = KC_N5, 133 [0x4d] = KC_N6, 134 [0x4f] = KC_N1, 135 [0x50] = KC_N2, 136 [0x51] = KC_N3, 137 [0x52] = KC_N0, 138 [0x53] = KC_NPERIOD 95 [0x39] = KC_CAPS_LOCK, 96 97 [0x3a] = KC_F1, 98 [0x3b] = KC_F2, 99 [0x3c] = KC_F3, 100 [0x3d] = KC_F4, 101 [0x3e] = KC_F5, 102 [0x3f] = KC_F6, 103 [0x40] = KC_F7, 104 [0x41] = KC_F8, 105 [0x42] = KC_F9, 106 [0x43] = KC_F10, 107 [0x44] = KC_F11, 108 [0x45] = KC_F12, 109 110 [0x46] = KC_PRTSCR, 111 [0x47] = KC_SCROLL_LOCK, 112 [0x48] = KC_PAUSE, 113 [0x49] = KC_INSERT, 114 [0x4a] = KC_HOME, 115 [0x4b] = KC_PAGE_UP, 116 [0x4c] = KC_DELETE, 117 [0x4d] = KC_END, 118 [0x4e] = KC_PAGE_DOWN, 119 [0x4f] = KC_RIGHT, 120 [0x50] = KC_LEFT, 121 [0x51] = KC_DOWN, 122 [0x52] = KC_UP, 123 124 //[0x64] = // some funny key 125 126 [0xe0] = KC_LCTRL, 127 [0xe1] = KC_LSHIFT, 128 [0xe2] = KC_LALT, 129 //[0xe3] = KC_L // TODO: left GUI 130 [0xe4] = KC_RCTRL, 131 [0xe5] = KC_RSHIFT, 132 [0xe6] = KC_RALT, 133 //[0xe7] = KC_R // TODO: right GUI 134 139 135 }; 140 136
Note:
See TracChangeset
for help on using the changeset viewer.