diff options
author | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2015-12-27 18:14:41 +0100 |
---|---|---|
committer | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2015-12-27 18:14:41 +0100 |
commit | 5e91ec14011656d8952007aceb99189cd28786ba (patch) | |
tree | 6e0d8a4850f5f7ec85f01bf599e840c25659881f /apps/plugins/zxbox/zxbox.c | |
parent | ad65f8cc71bfe9e98936d5f781263850a9d50cc0 (diff) | |
download | rockbox-5e91ec14011656d8952007aceb99189cd28786ba.tar.gz rockbox-5e91ec14011656d8952007aceb99189cd28786ba.zip |
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
Diffstat (limited to 'apps/plugins/zxbox/zxbox.c')
-rw-r--r-- | apps/plugins/zxbox/zxbox.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/zxbox/zxbox.c b/apps/plugins/zxbox/zxbox.c index 81a79dc70a..d618243b92 100644 --- a/apps/plugins/zxbox/zxbox.c +++ b/apps/plugins/zxbox/zxbox.c | |||
@@ -187,7 +187,11 @@ void spkb_process_events( int evenframe ) | |||
187 | spkb_kbstate[ki].state = 0; | 187 | spkb_kbstate[ki].state = 0; |
188 | } | 188 | } |
189 | 189 | ||
190 | if ( buttons & ZX_SELECT ){ | 190 | if ( buttons & ZX_SELECT |
191 | #ifdef ZX_SELECT2 | ||
192 | || buttons & ZX_SELECT2 | ||
193 | #endif | ||
194 | ){ | ||
191 | ki = KS_TO_KEY(SK_KP_Insert); | 195 | ki = KS_TO_KEY(SK_KP_Insert); |
192 | spkb_kbstate[ki].state = 1; | 196 | spkb_kbstate[ki].state = 1; |
193 | } | 197 | } |