Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: remoting/client/jni/android_keymap.h

Issue 21120005: Add Android Chromoting client keyboard input (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing keymappings and default case for switch (findbugs-enforced) Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_
6 #define REMOTING_CLIENT_JNI_ANDROID_KEYMAP_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10
11 namespace remoting {
12
13 // This is a temporary hack to convert Android's virtual keycodes into USB
14 // scancodes. Unfortunately, the current solution uses key mappings whose
15 // layout is determined according to the client device's input locale instead
16 // of the host's internationalization preferences. The whole process needs to
17 // be rethought to accomplish this in an localizable and future-proof way.
garykac 2013/07/30 17:45:26 Please file a bug for this and add a TODO that ref
solb 2013/07/30 18:17:39 265945
18 uint32 AndroidKeycodeToUsbKeycode(int android);
19
20 } // namespace remoting
21
22 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698