From 1392dc2144a4b1810ba5c421f54e05dc1a3a74c7 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Sat, 23 Aug 2008 09:46:38 +0000 Subject: Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/pluginlib_actions.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugins/lib/pluginlib_actions.c') diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c index 996e2178b4..a6bf28302f 100644 --- a/apps/plugins/lib/pluginlib_actions.c +++ b/apps/plugins/lib/pluginlib_actions.c @@ -67,7 +67,7 @@ const struct button_mapping remote_directions[] = const struct button_mapping generic_directions[] = { -#ifdef HAVE_TOUCHPAD +#ifdef HAVE_TOUCHSCREEN { PLA_UP, BUTTON_TOPMIDDLE, BUTTON_NONE}, { PLA_DOWN, BUTTON_BOTTOMMIDDLE, BUTTON_NONE}, { PLA_LEFT, BUTTON_MIDLEFT, BUTTON_NONE}, @@ -162,7 +162,7 @@ const struct button_mapping generic_directions[] = const struct button_mapping generic_left_right_fire[] = { -#ifdef HAVE_TOUCHPAD +#ifdef HAVE_TOUCHSCREEN { PLA_LEFT, BUTTON_MIDLEFT, BUTTON_NONE}, { PLA_LEFT_REPEAT, BUTTON_MIDLEFT|BUTTON_REPEAT, BUTTON_NONE}, { PLA_RIGHT, BUTTON_MIDRIGHT, BUTTON_NONE}, @@ -266,7 +266,7 @@ const struct button_mapping generic_left_right_fire[] = /* these were taken from the bubbles plugin, so may need tweaking */ const struct button_mapping generic_actions[] = { -#ifdef HAVE_TOUCHPAD +#ifdef HAVE_TOUCHSCREEN {PLA_QUIT, BUTTON_BOTTOMRIGHT, BUTTON_NONE}, {PLA_START, BUTTON_CENTER, BUTTON_NONE}, {PLA_MENU, BUTTON_TOPLEFT, BUTTON_NONE}, @@ -399,7 +399,7 @@ const struct button_mapping generic_actions[] = const struct button_mapping generic_increase_decrease[] = { -#ifdef HAVE_TOUCHPAD +#ifdef HAVE_TOUCHSCREEN {PLA_INC, BUTTON_TOPMIDDLE, BUTTON_NONE}, {PLA_DEC, BUTTON_BOTTOMMIDDLE, BUTTON_NONE}, {PLA_INC_REPEAT, BUTTON_TOPMIDDLE|BUTTON_REPEAT, BUTTON_NONE}, -- cgit v1.2.3