| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef REMOTING_CLIENT_IOS_KEY_MAP_US_H_ | 5 #ifndef REMOTING_IOS_KEY_MAP_US_H_ |
| 6 #define REMOTING_CLIENT_IOS_KEY_MAP_US_H_ | 6 #define REMOTING_IOS_KEY_MAP_US_H_ |
| 7 | 7 |
| 8 // A mapping for the US keyboard on a US IPAD to Chromoting Scancodes. | 8 // A mapping for the US keyboard on a US IPAD to Chromoting Scancodes. |
| 9 | 9 |
| 10 const int kKeyboardKeyMaxUS = 126; | 10 const int kKeyboardKeyMaxUS = 126; |
| 11 | 11 |
| 12 // Index for specific keys | 12 // Index for specific keys |
| 13 const uint32_t kShiftIndex = 128; | 13 const uint32_t kShiftIndex = 128; |
| 14 const uint32_t kBackspaceIndex = 129; | 14 const uint32_t kBackspaceIndex = 129; |
| 15 const uint32_t kCtrlIndex = 130; | 15 const uint32_t kCtrlIndex = 130; |
| 16 const uint32_t kAltIndex = 131; | 16 const uint32_t kAltIndex = 131; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 {0x070030, YES}, // } | 150 {0x070030, YES}, // } |
| 151 {0x070035, YES}, // ~ | 151 {0x070035, YES}, // ~ |
| 152 {0, NO}, // [127] | 152 {0, NO}, // [127] |
| 153 {0x0700e1, NO}, // SHIFT | 153 {0x0700e1, NO}, // SHIFT |
| 154 {0x07002a, NO}, // BACKSPACE | 154 {0x07002a, NO}, // BACKSPACE |
| 155 {0x0700e0, NO}, // CTRL | 155 {0x0700e0, NO}, // CTRL |
| 156 {0x0700e2, NO}, // ALT | 156 {0x0700e2, NO}, // ALT |
| 157 {0x07004c, NO} // DEL | 157 {0x07004c, NO} // DEL |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 #endif // REMOTING_CLIENT_IOS_KEY_MAP_US_H_ | 160 #endif // REMOTING_IOS_KEY_MAP_US_H_ |
| OLD | NEW |