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 #include "remoting/client/native_device_keymap.h" | 5 #include "remoting/client/input/native_device_keymap.h" |
6 | 6 |
7 namespace remoting { | 7 namespace remoting { |
8 | 8 |
9 uint32_t NativeDeviceKeycodeToUsbKeycode(size_t device_keycode) { | 9 uint32_t NativeDeviceKeycodeToUsbKeycode(size_t device_keycode) { |
10 // For iOS we don't have access to device keycode. The keycode should already | 10 // For iOS we don't have access to device keycode. The keycode should already |
11 // be in the usb keycode format, so we can just return the same code. | 11 // be in the usb keycode format, so we can just return the same code. |
12 return device_keycode; | 12 return device_keycode; |
13 } | 13 } |
14 | 14 |
15 } // namespace remoting | 15 } // namespace remoting |
OLD | NEW |