OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has no header guard because it is explicily intended | 5 // This file has no header guard because it is explicily intended |
6 // to be included more than once with different definitions of the | 6 // to be included more than once with different definitions of the |
7 // macros USB_KEYMAP and USB_KEYMAP_DECLARATION. | 7 // macros USB_KEYMAP and USB_KEYMAP_DECLARATION. |
8 | 8 |
9 // Data in this file was created by referencing: | 9 // Data in this file was created by referencing: |
10 // [0] USB HID Usage Tables, | 10 // [0] USB HID Usage Tables, |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 USB_KEYMAP(0x07007c, 0x008d, 0xe018, 0xffff, "Copy", COPY), | 218 USB_KEYMAP(0x07007c, 0x008d, 0xe018, 0xffff, "Copy", COPY), |
219 USB_KEYMAP(0x07007d, 0x008f, 0xe00a, 0xffff, "Paste", PASTE), | 219 USB_KEYMAP(0x07007d, 0x008f, 0xe00a, 0xffff, "Paste", PASTE), |
220 USB_KEYMAP(0x07007e, 0x0090, 0x0000, 0xffff, "Find", FIND), // Find | 220 USB_KEYMAP(0x07007e, 0x0090, 0x0000, 0xffff, "Find", FIND), // Find |
221 USB_KEYMAP(0x07007f, 0x0079, 0xe020, 0x004a, "VolumeMute", VOLUME_MUTE), | 221 USB_KEYMAP(0x07007f, 0x0079, 0xe020, 0x004a, "VolumeMute", VOLUME_MUTE), |
222 | 222 |
223 USB_KEYMAP(0x070080, 0x007b, 0xe030, 0x0048, "VolumeUp", VOLUME_UP), | 223 USB_KEYMAP(0x070080, 0x007b, 0xe030, 0x0048, "VolumeUp", VOLUME_UP), |
224 USB_KEYMAP(0x070081, 0x007a, 0xe02e, 0x0049, "VolumeDown", VOLUME_DOWN), | 224 USB_KEYMAP(0x070081, 0x007a, 0xe02e, 0x0049, "VolumeDown", VOLUME_DOWN), |
225 //USB_KEYMAP(0x070082, 0x0000, 0x0000, 0xffff, NULL, LOCKING_CAPS_LOCK), | 225 //USB_KEYMAP(0x070082, 0x0000, 0x0000, 0xffff, NULL, LOCKING_CAPS_LOCK), |
226 //USB_KEYMAP(0x070083, 0x0000, 0x0000, 0xffff, NULL, LOCKING_NUM_LOCK), | 226 //USB_KEYMAP(0x070083, 0x0000, 0x0000, 0xffff, NULL, LOCKING_NUM_LOCK), |
227 //USB_KEYMAP(0x070084, 0x0000, 0x0000, 0xffff, NULL, LOCKING_SCROLL_LOCK), | 227 //USB_KEYMAP(0x070084, 0x0000, 0x0000, 0xffff, NULL, LOCKING_SCROLL_LOCK), |
228 // USB#070085 is used as Brazilian Keypad_. | 228 USB_KEYMAP(0x070085, 0x0081, 0x0000, 0x005f, "NumpadComma", NUMPAD_COMMA), |
229 USB_KEYMAP(0x070085, 0x0000, 0x0000, 0x005f, "NumpadComma", NUMPAD_COMMA), | |
230 | 229 |
231 // International1 | 230 // International1 |
232 // USB#070086 is used on AS/400 keyboards. Standard Keypad_= is USB#070067. | 231 // USB#070086 is used on AS/400 keyboards. Standard Keypad_= is USB#070067. |
233 //USB_KEYMAP(0x070086, 0x0000, 0x0000, 0xffff, NULL, NUMPAD_EQUAL), | 232 //USB_KEYMAP(0x070086, 0x0000, 0x0000, 0xffff, NULL, NUMPAD_EQUAL), |
234 // USB#070087 is used for Brazilian /? and Japanese _ 'ro'. | 233 // USB#070087 is used for Brazilian /? and Japanese _ 'ro'. |
235 USB_KEYMAP(0x070087, 0x0061, 0x0000, 0x005e, "IntlRo", INTL_RO), | 234 USB_KEYMAP(0x070087, 0x0061, 0x0000, 0x005e, "IntlRo", INTL_RO), |
236 // International2 | 235 // International2 |
237 // USB#070088 is used as Japanese Hiragana/Katakana key. | 236 // USB#070088 is used as Japanese Hiragana/Katakana key. |
238 USB_KEYMAP(0x070088, 0x0065, 0x0000, 0x0068, "KanaMode", KANA_MODE), | 237 USB_KEYMAP(0x070088, 0x0065, 0x0000, 0x0068, "KanaMode", KANA_MODE), |
239 // International3 | 238 // International3 |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 // USB#0x0c0232: AC View Toggle | 472 // USB#0x0c0232: AC View Toggle |
474 USB_KEYMAP(0x0c0232, 0x0000, 0x0000, 0xffff, "ZoomToggle", ZOOM_TOGGLE), | 473 USB_KEYMAP(0x0c0232, 0x0000, 0x0000, 0xffff, "ZoomToggle", ZOOM_TOGGLE), |
475 // USB#0x0c0289: AC_Reply | 474 // USB#0x0c0289: AC_Reply |
476 USB_KEYMAP(0x0c0289, 0x00f0, 0x0000, 0xffff, "MailReply", MAIL_REPLY), | 475 USB_KEYMAP(0x0c0289, 0x00f0, 0x0000, 0xffff, "MailReply", MAIL_REPLY), |
477 // USB#0x0c028b: AC_ForwardMsg (MailForward) | 476 // USB#0x0c028b: AC_ForwardMsg (MailForward) |
478 USB_KEYMAP(0x0c028b, 0x00f1, 0x0000, 0xffff, "MailForward", MAIL_FORWARD), | 477 USB_KEYMAP(0x0c028b, 0x00f1, 0x0000, 0xffff, "MailForward", MAIL_FORWARD), |
479 // USB#0x0c028c: AC_Send | 478 // USB#0x0c028c: AC_Send |
480 USB_KEYMAP(0x0c028c, 0x00ef, 0x0000, 0xffff, "MailSend", MAIL_SEND), | 479 USB_KEYMAP(0x0c028c, 0x00ef, 0x0000, 0xffff, "MailSend", MAIL_SEND), |
481 }; | 480 }; |
482 | 481 |
OLD | NEW |