OLD | NEW |
---|---|
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_NATIVE_DEVICE_KEYMAP_H_ | 5 #ifndef REMOTING_CLIENT_NATIVE_DEVICE_KEYMAP_H_ |
6 #define REMOTING_CLIENT_NATIVE_DEVICE_KEYMAP_H_ | 6 #define REMOTING_CLIENT_NATIVE_DEVICE_KEYMAP_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 namespace remoting { | 11 namespace remoting { |
12 | 12 |
13 struct KeycodeWithModifier { | |
Yuwei
2017/05/16 00:47:30
Is this still being used?
nicholss
2017/05/16 17:13:39
Nope! Gone.
| |
14 uint32_t keycode; | |
15 uint32_t modifier; | |
16 }; | |
17 | |
13 uint32_t NativeDeviceKeycodeToUsbKeycode(size_t device_keycode); | 18 uint32_t NativeDeviceKeycodeToUsbKeycode(size_t device_keycode); |
14 | 19 |
15 } // namespace remoting | 20 } // namespace remoting |
16 | 21 |
17 #endif // REMOTING_CLIENT_NATIVE_DEVICE_KEYMAP_H_ | 22 #endif // REMOTING_CLIENT_NATIVE_DEVICE_KEYMAP_H_ |
OLD | NEW |