diff options
Diffstat (limited to 'apps/plugins/stopwatch.c')
-rw-r--r-- | apps/plugins/stopwatch.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c index bb778c9d24..c3fa3e15dd 100644 --- a/apps/plugins/stopwatch.c +++ b/apps/plugins/stopwatch.c | |||
@@ -35,31 +35,7 @@ | |||
35 | #define STOPWATCH_FILE PLUGIN_APPS_DATA_DIR "/stopwatch.dat" | 35 | #define STOPWATCH_FILE PLUGIN_APPS_DATA_DIR "/stopwatch.dat" |
36 | 36 | ||
37 | /* variable button definitions */ | 37 | /* variable button definitions */ |
38 | #if CONFIG_KEYPAD == RECORDER_PAD | 38 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
39 | #define STOPWATCH_QUIT BUTTON_OFF | ||
40 | #define STOPWATCH_START_STOP BUTTON_PLAY | ||
41 | #define STOPWATCH_RESET_TIMER BUTTON_LEFT | ||
42 | #define STOPWATCH_LAP_TIMER BUTTON_ON | ||
43 | #define STOPWATCH_SCROLL_UP BUTTON_UP | ||
44 | #define STOPWATCH_SCROLL_DOWN BUTTON_DOWN | ||
45 | |||
46 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
47 | #define STOPWATCH_QUIT BUTTON_OFF | ||
48 | #define STOPWATCH_START_STOP BUTTON_RIGHT | ||
49 | #define STOPWATCH_RESET_TIMER BUTTON_LEFT | ||
50 | #define STOPWATCH_LAP_TIMER BUTTON_MENU | ||
51 | #define STOPWATCH_SCROLL_UP BUTTON_UP | ||
52 | #define STOPWATCH_SCROLL_DOWN BUTTON_DOWN | ||
53 | |||
54 | #elif CONFIG_KEYPAD == PLAYER_PAD | ||
55 | #define STOPWATCH_QUIT BUTTON_MENU | ||
56 | #define STOPWATCH_START_STOP BUTTON_PLAY | ||
57 | #define STOPWATCH_RESET_TIMER BUTTON_STOP | ||
58 | #define STOPWATCH_LAP_TIMER BUTTON_ON | ||
59 | #define STOPWATCH_SCROLL_UP BUTTON_RIGHT | ||
60 | #define STOPWATCH_SCROLL_DOWN BUTTON_LEFT | ||
61 | |||
62 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
63 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | 39 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
64 | #define STOPWATCH_QUIT BUTTON_OFF | 40 | #define STOPWATCH_QUIT BUTTON_OFF |
65 | #define STOPWATCH_START_STOP BUTTON_SELECT | 41 | #define STOPWATCH_START_STOP BUTTON_SELECT |