aboutsummaryrefslogtreecommitdiffstats
path: root/android/console.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-01-19 05:21:31 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-01-19 06:36:14 +0100
commit0158ea3220978ecc0fa1738e4a0bdae83fa36175 (patch)
treedc99b32d5172a3964bedbfe6264b770faad3cbad /android/console.c
parent3a003a41d577050133b5dc922e8e769d9250bbd8 (diff)
downloadexternal_qemu-0158ea3220978ecc0fa1738e4a0bdae83fa36175.zip
external_qemu-0158ea3220978ecc0fa1738e4a0bdae83fa36175.tar.gz
external_qemu-0158ea3220978ecc0fa1738e4a0bdae83fa36175.tar.bz2
Make "qwerty2" the default charmap.
This patch makes "qwerty2" the default charmap for skins that don't specifiy one explicitely. Note that the "qwerty" charmap is here for historical reasons only. All skins provided by all SDK Android platforms explicitely mention "qwerty2", so this patch will mainly impact "magic skins" like those created by an option like "-skin 1024x768". This gets rid of the obsolete "qwerty" charmap (it was never used by any of the skins provided by the SDK, and is incorrect). + Simplify android/charmap.[hc] code. + Lazy-load the charmap name in hw/goldfish_events_device.c
Diffstat (limited to 'android/console.c')
-rw-r--r--android/console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/console.c b/android/console.c
index a44d831..96cc005 100644
--- a/android/console.c
+++ b/android/console.c
@@ -1968,8 +1968,8 @@ do_event_text( ControlClient client, char* args )
return -1;
}
- /* Get default charmap. */
- charmap = android_get_default_charmap();
+ /* Get active charmap. */
+ charmap = android_get_charmap();
if (charmap == NULL) {
control_write( client, "KO: no character map active in current device layout/config\r\n" );
return -1;