1
0
Fork 0
forked from len0rd/rockbox

Removed an unneeded BUTTON_HOLD define for iPod 3G

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9151 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Hristo Kovachev 2006-03-21 10:33:11 +00:00
parent 63c8bb21ae
commit b492cf4ac4
2 changed files with 0 additions and 10 deletions

View file

@ -359,7 +359,6 @@ static int ipod_3g_button_read(void)
if ((state & 0x20) == 0) { if ((state & 0x20) == 0) {
/* 3g hold switch is active low */ /* 3g hold switch is active low */
btn |= BUTTON_HOLD;
was_hold = 1; was_hold = 1;
/* hold switch on 3g causes all outputs to go low */ /* hold switch on 3g causes all outputs to go low */
/* we shouldn't interpret these as key presses */ /* we shouldn't interpret these as key presses */

View file

@ -221,18 +221,9 @@ bool remote_button_hold(void);
#define BUTTON_PLAY 0x00000040 #define BUTTON_PLAY 0x00000040
#if CONFIG_KEYPAD == IPOD_3G_PAD
#define BUTTON_HOLD 0x00000100
/* TODO Does the BUTTON_HOLD need to be here? */
#define BUTTON_MAIN (BUTTON_SELECT|BUTTON_MENU\
|BUTTON_LEFT|BUTTON_RIGHT\
|BUTTON_SCROLL_FWD|BUTTON_SCROLL_BACK\
|BUTTON_PLAY|BUTTON_HOLD)
#else
#define BUTTON_MAIN (BUTTON_SELECT|BUTTON_MENU\ #define BUTTON_MAIN (BUTTON_SELECT|BUTTON_MENU\
|BUTTON_LEFT|BUTTON_RIGHT|BUTTON_SCROLL_FWD\ |BUTTON_LEFT|BUTTON_RIGHT|BUTTON_SCROLL_FWD\
|BUTTON_SCROLL_BACK|BUTTON_PLAY) |BUTTON_SCROLL_BACK|BUTTON_PLAY)
#endif
#define BUTTON_REMOTE 0 #define BUTTON_REMOTE 0