summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-06-27 18:41:31 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-06-30 20:35:12 +0200
commitae9b78ee2e89e425aadf4aac6a52119ef938a784 (patch)
tree26adcd3b379e17470a7e94a1ca65bfa5f45a2203
parent79a56fabb971b7f74fcf64ff857e9f2bfcb434db (diff)
downloadrockbox-ae9b78e.tar.gz
rockbox-ae9b78e.tar.bz2
rockbox-ae9b78e.zip
Plugins: remove defined keys which are never used
Change-Id: I0195ae43f35c7355de66d5fa8caa24d8da6cb61e Reviewed-on: http://gerrit.rockbox.org/883 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
-rw-r--r--apps/plugins/doom/i_video.c3
-rw-r--r--apps/plugins/pegbox.c9
2 files changed, 0 insertions, 12 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c
index 10aee392a2..200a663494 100644
--- a/apps/plugins/doom/i_video.c
+++ b/apps/plugins/doom/i_video.c
@@ -447,7 +447,6 @@ void I_ShutdownGraphics(void)
#define DOOMBUTTON_LEFT BUTTON_LEFT
#define DOOMBUTTON_RIGHT BUTTON_RIGHT
#define DOOMBUTTON_OPEN BUTTON_PLAYPAUSE
-#define DOOMBUTTON_QUIT BUTTON_POWER
#define DOOMBUTTON_ESC BUTTON_BACK
#define DOOMBUTTON_ENTER BUTTON_SELECT
#define DOOMBUTTON_SHOOT BUTTON_SELECT
@@ -482,7 +481,6 @@ void I_ShutdownGraphics(void)
#define DOOMBUTTON_LEFT BUTTON_LEFT
#define DOOMBUTTON_RIGHT BUTTON_RIGHT
#define DOOMBUTTON_OPEN (BUTTON_POWER | BUTTON_SELECT)
-#define DOOMBUTTON_QUIT BUTTON_POWER
#define DOOMBUTTON_ESC (BUTTON_POWER | BUTTON_UP)
#define DOOMBUTTON_ENTER BUTTON_SELECT
#define DOOMBUTTON_SHOOT BUTTON_SELECT
@@ -495,7 +493,6 @@ void I_ShutdownGraphics(void)
#define DOOMBUTTON_LEFT BUTTON_LEFT
#define DOOMBUTTON_RIGHT BUTTON_RIGHT
#define DOOMBUTTON_OPEN BUTTON_PLAY
-#define DOOMBUTTON_QUIT BUTTON_POWER
#define DOOMBUTTON_ESC (BUTTON_POWER | BUTTON_SELECT)
#define DOOMBUTTON_ENTER BUTTON_SELECT
#define DOOMBUTTON_SHOOT BUTTON_SELECT
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c
index f53c8f9519..9ad816c6a1 100644
--- a/apps/plugins/pegbox.c
+++ b/apps/plugins/pegbox.c
@@ -415,7 +415,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#define QUIT_TEXT "POWER"
#elif CONFIG_KEYPAD == SAMSUNG_YH820_PAD
-#define PEGBOX_SAVE BUTTON_FFWD
#define PEGBOX_QUIT BUTTON_REC
#define PEGBOX_RESTART BUTTON_REW
#define PEGBOX_LVL_UP (BUTTON_PLAY|BUTTON_FFWD)
@@ -434,7 +433,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#define SELECT_TEXT "PLAY"
#elif CONFIG_KEYPAD == SAMSUNG_YH920_PAD
-#define PEGBOX_SAVE (BUTTON_REC|BUTTON_FFWD)
#define PEGBOX_QUIT (BUTTON_REC|BUTTON_PLAY)
#define PEGBOX_RESTART (BUTTON_REC|BUTTON_REW)
#define PEGBOX_LVL_UP BUTTON_FFWD
@@ -453,7 +451,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#define SELECT_TEXT "PLAY"
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
-#define PEGBOX_SAVE (BUTTON_REC|BUTTON_OK)
#define PEGBOX_QUIT BUTTON_REC
#define PEGBOX_RESTART BUTTON_MENU
#define PEGBOX_LVL_UP BUTTON_OK
@@ -472,7 +469,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#define SELECT_TEXT "PLAY"
#elif CONFIG_KEYPAD == MPIO_HD200_PAD
-#define PEGBOX_SAVE (BUTTON_PLAY|BUTTON_FUNC)
#define PEGBOX_QUIT (BUTTON_REC|BUTTON_PLAY)
#define PEGBOX_RESTART BUTTON_REC
#define PEGBOX_LVL_UP (BUTTON_PLAY|BUTTON_REW)
@@ -491,7 +487,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#define SELECT_TEXT "FUNC"
#elif CONFIG_KEYPAD == MPIO_HD300_PAD
-#define PEGBOX_SAVE (BUTTON_ENTER | BUTTON_REPEAT)
#define PEGBOX_QUIT (BUTTON_MENU | BUTTON_REPEAT)
#define PEGBOX_RESTART (BUTTON_MENU | BUTTON_REL)
#define PEGBOX_LVL_UP BUTTON_PLAY
@@ -511,7 +506,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
#define PEGBOX_QUIT BUTTON_POWER
-#define PEGBOX_SAVE BUTTON_PLAYPAUSE
#define PEGBOX_RESTART BUTTON_BACK
#define PEGBOX_LVL_UP BUTTON_VOL_UP
#define PEGBOX_LVL_DOWN BUTTON_VOL_DOWN
@@ -531,7 +525,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#elif CONFIG_KEYPAD == SANSA_CONNECT_PAD
#define PEGBOX_SELECT BUTTON_SELECT
#define PEGBOX_QUIT BUTTON_POWER
-#define PEGBOX_SAVE BUTTON_VOL_UP
#define PEGBOX_RESTART BUTTON_VOL_DOWN
#define PEGBOX_LVL_UP BUTTON_NEXT
#define PEGBOX_LVL_DOWN BUTTON_PREV
@@ -568,7 +561,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#elif CONFIG_KEYPAD == HM60X_PAD
#define PEGBOX_SELECT BUTTON_SELECT
#define PEGBOX_QUIT BUTTON_POWER
-#define PEGBOX_SAVE (BUTTON_POWER|BUTTON_SELECT)
#define PEGBOX_RESTART (BUTTON_POWER|BUTTON_LEFT)
#define PEGBOX_LVL_UP (BUTTON_POWER|BUTTON_UP)
#define PEGBOX_LVL_DOWN (BUTTON_POWER|BUTTON_DOWN)
@@ -587,7 +579,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#elif CONFIG_KEYPAD == HM801_PAD
#define PEGBOX_SELECT BUTTON_SELECT
#define PEGBOX_QUIT BUTTON_POWER
-#define PEGBOX_SAVE BUTTON_PLAY
#define PEGBOX_RESTART (BUTTON_POWER|BUTTON_PREV)
#define PEGBOX_LVL_UP BUTTON_NEXT
#define PEGBOX_LVL_DOWN BUTTON_PREV