Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / remoting / client / jni / android_keymap.h
blob9368ae5a13628601356a9c031864e139feaef94d
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
3 // found in the LICENSE file.
5 #ifndef REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_
6 #define REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
11 namespace remoting {
13 // TODO(solb): This is a temporary hack to convert Android's virtual keycodes
14 // into USB scancodes. Unfortunately, the current solution uses key mappings
15 // whose layout is determined according to the client device's input locale
16 // instead of the host's. The whole process needs to be rethought to accomplish
17 // the mappings in a localizable and future-proof way.
18 // crbug.com/265945
19 uint32 AndroidKeycodeToUsbKeycode(size_t android);
21 } // namespace remoting
23 #endif