diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-05-13 08:27:36 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-05-13 08:27:36 +0000 |
commit | e1f343afc782dd322d49dcdc09f53ed06be8c3e2 (patch) | |
tree | 571ce135ec2cb8b8b3ac36940f8a759246df527c /apps/plugins/doom/i_video.c | |
parent | 8033342d0fe3b977fc7cb1cd77ef408fc69f0878 (diff) |
Sansa Fuze : Fix r20680/FS#10075 (long HOME to exit plugins)
Some plugins were forgotten : mpegplayer, test_fps, test_scanrate
Some plugins use button_status() and can't use BUTTON_REL or BUTTON_REPEAT flags
rockblox1d : use single press BUTTON_HOME
doom : use single press BUTTON_HOME and BUTTON_POWER to open doors
I may have forgotten some plugins, I didn't test them one by one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20925 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/i_video.c')
-rw-r--r-- | apps/plugins/doom/i_video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index 2f0c9b42fd..759e2179aa 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -207,10 +207,10 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_DOWN BUTTON_DOWN #define DOOMBUTTON_LEFT BUTTON_LEFT #define DOOMBUTTON_RIGHT BUTTON_RIGHT -#define DOOMBUTTON_SHOOT (BUTTON_SELECT | BUTTON_REL) -#define DOOMBUTTON_OPEN (BUTTON_SELECT | BUTTON_HOME) -#define DOOMBUTTON_ESC (BUTTON_HOME|BUTTON_REPEAT) -#define DOOMBUTTON_ENTER (BUTTON_SELECT | BUTTON_REL) +#define DOOMBUTTON_SHOOT BUTTON_SELECT +#define DOOMBUTTON_OPEN BUTTON_POWER +#define DOOMBUTTON_ESC BUTTON_HOME +#define DOOMBUTTON_ENTER BUTTON_SELECT #define DOOMBUTTON_WEAPON DOOMBUTTON_SCROLLWHEEL_CW #elif CONFIG_KEYPAD == SANSA_C200_PAD #define DOOMBUTTON_UP BUTTON_UP |