Changeset 40b965d in mainline
- Timestamp:
- 2010-10-14T09:05:03Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cbc00a4d
- Parents:
- 1880c65
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/hidutkbd.h
r1880c65 r40b965d 68 68 #endif 69 69 70 #define __NONPRINT(name, usage_id) \ 71 USB_HIDUT_KBD_KEY(name, usage_id, 0, 0, 0, 0) 72 70 73 /* US alphabet letters */ 71 74 USB_HIDUT_KBD_KEY(A, 0x04, 'a', 'A', 0, 0) … … 115 118 USB_HIDUT_KBD_KEY(SPACE, 0x2C, ' ', 0, 0, 0) 116 119 120 /* Special (printable) characters */ 121 USB_HIDUT_KBD_KEY(DASH, 0x2D, '-', '_', 0, 0) 122 USB_HIDUT_KBD_KEY(EQUALS, 0x2E, '=', '+', 0, 0) 123 USB_HIDUT_KBD_KEY(LEFT_BRACKET, 0x2F, '[', '{', 0, 0) 124 USB_HIDUT_KBD_KEY(RIGHT_BRACKET, 0x30, ']', '}', 0, 0) 125 USB_HIDUT_KBD_KEY(BACKSLASH, 0x31, '\\', '|', 0, 0) 126 USB_HIDUT_KBD_KEY(HASH, 0x, '#', '~', 0, 0) 127 USB_HIDUT_KBD_KEY(SEMICOLON, 0x33, ';', ':', 0, 0) 128 USB_HIDUT_KBD_KEY(APOSTROPHE, 0x34, '\'', '"', 0, 0) 129 USB_HIDUT_KBD_KEY(GRAVE_ACCENT, 0x35, '`', '~', 0, 0) 130 USB_HIDUT_KBD_KEY(COMMA, 0x36, ',', '<', 0, 0) 131 USB_HIDUT_KBD_KEY(PERIOD, 0x37, '.', '>', 0, 0) 132 USB_HIDUT_KBD_KEY(SLASH, 0x38, '/', '?', 0, 0) 133 134 USB_HIDUT_KBD_KEY(CAPS_LOCK, 0x39, 0, 0, 0, 0) 135 117 136 /* Function keys */ 118 USB_HIDUT_KBD_KEY( F1, 0x3A, 0, 0, 0, 0) 119 USB_HIDUT_KBD_KEY( F2, 0x3B, 0, 0, 0, 0) 120 USB_HIDUT_KBD_KEY( F3, 0x3C, 0, 0, 0, 0) 121 USB_HIDUT_KBD_KEY( F4, 0x3D, 0, 0, 0, 0) 122 USB_HIDUT_KBD_KEY( F5, 0x3E, 0, 0, 0, 0) 123 USB_HIDUT_KBD_KEY( F6, 0x3F, 0, 0, 0, 0) 124 USB_HIDUT_KBD_KEY( F7, 0x40, 0, 0, 0, 0) 125 USB_HIDUT_KBD_KEY( F8, 0x41, 0, 0, 0, 0) 126 USB_HIDUT_KBD_KEY( F9, 0x42, 0, 0, 0, 0) 127 USB_HIDUT_KBD_KEY(F10, 0x43, 0, 0, 0, 0) 128 USB_HIDUT_KBD_KEY(F11, 0x44, 0, 0, 0, 0) 129 USB_HIDUT_KBD_KEY(F12, 0x45, 0, 0, 0, 0) 137 __NONPRINT( F1, 0x3A) 138 __NONPRINT( F2, 0x3B) 139 __NONPRINT( F3, 0x3C) 140 __NONPRINT( F4, 0x3D) 141 __NONPRINT( F5, 0x3E) 142 __NONPRINT( F6, 0x3F) 143 __NONPRINT( F7, 0x40) 144 __NONPRINT( F8, 0x41) 145 __NONPRINT( F9, 0x42) 146 __NONPRINT(F10, 0x43) 147 __NONPRINT(F11, 0x44) 148 __NONPRINT(F12, 0x45) 149 150 /* Cursor movement keys & co. */ 151 __NONPRINT(PRINT_SCREEN, 0x46) 152 __NONPRINT(SCROLL_LOCK, 0x47) 153 __NONPRINT(PAUSE, 0x48) 154 __NONPRINT(INSERT, 0x49) 155 __NONPRINT(HOME, 0x4A) 156 __NONPRINT(PAGE_UP, 0x4B) 157 __NONPRINT(DELETE, 0x4C) 158 __NONPRINT(END, 0x4D) 159 __NONPRINT(PAGE_DOWN, 0x4E) 160 __NONPRINT(RIGHT_ARROW, 0x4F) 161 __NONPRINT(LEFT_ARROW, 0x50) 162 __NONPRINT(DOWN_ARROW, 0x51) 163 __NONPRINT(UP_ARROW, 0x52) 164 130 165 131 166 … … 133 168 /* USB_HIDUT_KBD_KEY(, 0x, '', '', 0, 0) */ 134 169 170 #undef __NONPRINT 171 135 172 /** 136 173 * @}
Note:
See TracChangeset
for help on using the changeset viewer.