| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Iea5edfbae0caff45161c814d631d35d2e6d61d1c
|
|
|
|
|
|
|
| |
Abstracted keycode event array into keycode_array.[hc],
Moved key to keycode translation into charmap.c
Change-Id: I4de0c9853fa93d675895fc361e62ee36c1c0a652
|
| |
|
|
|
|
|
| |
Created .kcm parser and added -charmap option to the emulator, so user
can specify keyboard layout for emulator session.
|
|
|
|
|
|
|
|
|
|
| |
This is used to deal with the fact that the framework *always* assumes that
the physical DPad is rotated in landscaped mode, while the default skin no
longer does that.
NOTE: tested on old skin files for backwards compatibility.
(Upcoming skin fixes coming in another patch)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This bug was introduced by previous changes to hw/goldfish_events_device.c
where the list of valid key scancodes reported by the kernel was restricted
to KEY_SOFT1 but not KEY_MENU.
KEY_SOFT1 is the scan-code used to represent a press of the Menu key on
the emulated device. KEY_MENU is some Linux thing that is confusingly unrelated.
Before we filtered out KEY_MENU, the framework or keymap was capable of
transforming KEY_MENU into the proper kKeyCodeMenu at runtime. But the event
filtering added in goldfish_events_device.c meant that KEY_MENU was never
passed by the kernel to user-space.
The fix is simply to generate KEY_SOFT1 for emulated Menu key presses.
|
| |
|
| |
|
| |
|
|
|