aboutsummaryrefslogtreecommitdiffstats
path: root/pc-bios/keymaps/modifiers
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-08-27 05:43:57 -0700
committerDavid 'Digit' Turner <digit@android.com>2010-08-27 05:43:57 -0700
commitb1cf569556a4ae07eb07f602433cd95b8110edd8 (patch)
treeb14a5e2bafa3ca395f86ff1e08c8871e0428a46f /pc-bios/keymaps/modifiers
parent3f16680b70d6c065fd2c1672ae324a49c5d1d316 (diff)
downloadexternal_qemu-b1cf569556a4ae07eb07f602433cd95b8110edd8.zip
external_qemu-b1cf569556a4ae07eb07f602433cd95b8110edd8.tar.gz
external_qemu-b1cf569556a4ae07eb07f602433cd95b8110edd8.tar.bz2
Add keymap files needed by the VNC implementation.
This allows us to connect to the qemu-android "core" emulation program through VNC easily. Change-Id: I9855d12aea39335e5c1b6958022a74b1d073d305
Diffstat (limited to 'pc-bios/keymaps/modifiers')
-rw-r--r--pc-bios/keymaps/modifiers18
1 files changed, 18 insertions, 0 deletions
diff --git a/pc-bios/keymaps/modifiers b/pc-bios/keymaps/modifiers
new file mode 100644
index 0000000..d73b7a6
--- /dev/null
+++ b/pc-bios/keymaps/modifiers
@@ -0,0 +1,18 @@
+Shift_R 0x36
+Shift_L 0x2a
+
+Alt_R 0xb8
+Mode_switch 0xb8
+ISO_Level3_Shift 0xb8
+Alt_L 0x38
+
+Control_R 0x9d
+Control_L 0x1d
+
+# Translate Super to Windows keys.
+# This is hardcoded. See documentation for details.
+Super_R 0xdc
+Super_L 0xdb
+
+# Translate Menu to the Windows Application key.
+Menu 0xdd