mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Samsung YH820/92x keymap bugfixes
This patch fixes some (mostly small) plugin issues with the "big" YH-keymap patch (a507b). Only one fix affects the main keymaps (virtual keyboard "DONE" now exits after long key /release/ instead of long button /press/). Change-Id: Id34f925ebfa97ae4974cd9405fbe1fee4f597833
This commit is contained in:
parent
ad65f8cc71
commit
5e91ec1401
21 changed files with 140 additions and 81 deletions
|
|
@ -198,7 +198,8 @@
|
|||
#define ZX_LEFT BUTTON_LEFT
|
||||
#define ZX_RIGHT BUTTON_RIGHT
|
||||
#define ZX_SELECT BUTTON_PLAY
|
||||
#define ZX_MENU BUTTON_FFWD
|
||||
#define ZX_SELECT2 BUTTON_FFWD
|
||||
#define ZX_MENU BUTTON_REW
|
||||
|
||||
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
|
||||
|
||||
|
|
|
|||
|
|
@ -187,7 +187,11 @@ void spkb_process_events( int evenframe )
|
|||
spkb_kbstate[ki].state = 0;
|
||||
}
|
||||
|
||||
if ( buttons & ZX_SELECT ){
|
||||
if ( buttons & ZX_SELECT
|
||||
#ifdef ZX_SELECT2
|
||||
|| buttons & ZX_SELECT2
|
||||
#endif
|
||||
){
|
||||
ki = KS_TO_KEY(SK_KP_Insert);
|
||||
spkb_kbstate[ki].state = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue