1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2002 Björn Stenberg
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
23 #include "timefuncs.h"
25 #if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == IRIVER_H100_PAD) ||\
26 (CONFIG_KEYPAD == IRIVER_H300_PAD)
27 #define PITCH_UP BUTTON_UP
28 #define PITCH_DOWN BUTTON_DOWN
29 #define PITCH_RIGHT BUTTON_RIGHT
30 #define PITCH_LEFT BUTTON_LEFT
31 #define PITCH_EXIT BUTTON_OFF
32 #define PITCH_RESET BUTTON_ON
33 #elif (CONFIG_KEYPAD == ONDIO_PAD)
34 #define PITCH_UP BUTTON_UP
35 #define PITCH_DOWN BUTTON_DOWN
36 #define PITCH_RIGHT BUTTON_RIGHT
37 #define PITCH_LEFT BUTTON_LEFT
38 #define PITCH_EXIT BUTTON_OFF
39 #define PITCH_RESET BUTTON_MENU
40 #elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD)
41 #define PITCH_UP BUTTON_SCROLL_FWD
42 #define PITCH_DOWN BUTTON_SCROLL_BACK
43 #define PITCH_RIGHT BUTTON_RIGHT
44 #define PITCH_LEFT BUTTON_LEFT
45 #define PITCH_EXIT BUTTON_SELECT
46 #define PITCH_RESET BUTTON_MENU
47 #elif (CONFIG_KEYPAD == GIGABEAT_PAD)
48 #define PITCH_UP BUTTON_UP
49 #define PITCH_DOWN BUTTON_DOWN
50 #define PITCH_RIGHT BUTTON_RIGHT
51 #define PITCH_LEFT BUTTON_LEFT
52 #define PITCH_EXIT BUTTON_SELECT
53 #define PITCH_RESET BUTTON_A
54 #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD)
55 #define PITCH_UP BUTTON_UP
56 #define PITCH_DOWN BUTTON_DOWN
57 #define PITCH_RIGHT BUTTON_RIGHT
58 #define PITCH_LEFT BUTTON_LEFT
59 #define PITCH_EXIT BUTTON_PLAY
60 #define PITCH_RESET BUTTON_POWER
65 void usb_display_info(struct screen
* display
);
66 void usb_screen(void);
67 int charging_screen(void);
68 void charging_splash(void);
71 int mmc_remove_request(void);
74 bool pitch_screen(void);
76 #if CONFIG_KEYPAD == RECORDER_PAD
77 extern bool quick_screen_f3(int button_enter
);
79 extern bool quick_screen_quick(int button_enter
);
82 bool set_time_screen(const char* string
, struct tm
*tm
);
85 bool shutdown_screen(void);
86 bool browse_id3(void);
87 bool set_rating(void);