Simplify my previous change, don't need separate defines for ipod

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21962 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Hooper 2009-07-18 21:08:38 +00:00
parent 974a48004a
commit 7a3845b753

View file

@ -70,9 +70,7 @@ PLUGIN_HEADER
#define CLIX_BUTTON_DOWN BUTTON_PLAY
#define CLIX_BUTTON_SCROLL_FWD BUTTON_SCROLL_FWD
#define CLIX_BUTTON_SCROLL_BACK BUTTON_SCROLL_BACK
#define CLIX_BUTTON_CLICK (BUTTON_SELECT | BUTTON_REL)
#define CLIX_BUTTON_CLICK_PRE BUTTON_SELECT
#define CLIX_BUTTON_CLICK_PRE2 (BUTTON_SELECT | BUTTON_REPEAT)
#define CLIX_BUTTON_CLICK BUTTON_SELECT
#define CLIX_BUTTON_RIGHT BUTTON_RIGHT
#define CLIX_BUTTON_LEFT BUTTON_LEFT
@ -744,15 +742,6 @@ static int clix_handle_game(struct clix_game_state_t* state)
#endif
case CLIX_BUTTON_CLICK:
{
#ifdef CLIX_BUTTON_CLICK_PRE
#ifdef CLIX_BUTTON_CLICK_PRE2
if (lastbutton != CLIX_BUTTON_CLICK_PRE
&& lastbutton != CLIX_BUTTON_CLICK_PRE2)
#else
if (lastbutton != CLIX_BUTTON_CLICK_PRE)
#endif
break;
#endif
if (state->selected_count > 1) {
switch( clix_clear_selected( state))
{