aboutsummaryrefslogtreecommitdiffstats
path: root/android/charmap.h
Commit message (Collapse)AuthorAgeFilesLines
* Make "qwerty2" the default charmap.David 'Digit' Turner2011-01-191-14/+19
| | | | | | | | | | | | | | | 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
* Remove UI dependency from goldfish_event_device.cVladimir Chtchetkine2010-07-221-0/+6
| | | | Change-Id: Iea5edfbae0caff45161c814d631d35d2e6d61d1c
* Move key event generation out of the UI realm into neutral space.Vladimir Chtchetkine2010-07-071-6/+24
| | | | | | | Abstracted keycode event array into keycode_array.[hc], Moved key to keycode translation into charmap.c Change-Id: I4de0c9853fa93d675895fc361e62ee36c1c0a652
* Fix emulator crash on exit, due to invalid free() call.David 'Digit' Turner2009-09-231-3/+0
|
* Implementation for dynamic charmap option in emulator.vchtchetkine2009-09-211-4/+46
| | | | | Created .kcm parser and added -charmap option to the emulator, so user can specify keyboard layout for emulator session.
* Allow skins to provide a "dpad-rotation" field for each layout.David 'Digit' Turner2009-09-191-92/+1
| | | | | | | | | | 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)
* Fix F2/PageUp to properly generate an emulated Menu key press.David 'Digit' Turner2009-08-211-1/+1
| | | | | | | | | | | | | | | | 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.
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-6/+0
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+133
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-133/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-0/+133