From abe0822e3cccae6098c56f4fecb029f300b9a01a Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Fri, 21 Aug 2009 09:59:10 +0200 Subject: Fix F2/PageUp to properly generate an emulated Menu key press. 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. --- CHANGES.TXT | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.TXT') diff --git a/CHANGES.TXT b/CHANGES.TXT index d529ce6..aca11fd 100644 --- a/CHANGES.TXT +++ b/CHANGES.TXT @@ -25,6 +25,9 @@ IMPORTANT BUG FIXES: - Fixed a nasty race condition in the Linux EsounD audio backend which resulted in rare lockups when stopping the emulator on this platform. +- The key-bindings for the Menu button (F2 and PageUp by default) didn't work + due to a typo. + ============================================================================== Changes between 1.11 and 1.10 -- cgit v1.1