My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 78 attachment: keyboard.patch (664 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: microemulator/microemu-android/src/org/microemu/android/device/AndroidInputMethod.java
===================================================================
--- microemulator/microemu-android/src/org/microemu/android/device/AndroidInputMethod.java (revision 2490)
+++ microemulator/microemu-android/src/org/microemu/android/device/AndroidInputMethod.java (working copy)
@@ -284,6 +284,12 @@

int resultKeyCode;
switch (deviceKeyCode) {
+ case KeyEvent.KEYCODE_CALL :
+ resultKeyCode = -10;
+ break;
+ case KeyEvent.KEYCODE_BACK :
+ resultKeyCode = -8;
+ break;
case KeyEvent.KEYCODE_DPAD_CENTER :
resultKeyCode = -5;
break;
Powered by Google Project Hosting