forked from len0rd/rockbox
Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
965d2af61f
commit
1392dc2144
81 changed files with 233 additions and 231 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue