mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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
|
|
@ -86,7 +86,7 @@ static void setoptions (void)
|
|||
fd = open(optionsave, O_RDONLY);
|
||||
if(fd < 0) /* no options to read, set defaults */
|
||||
{
|
||||
#ifdef HAVE_TOUCHPAD
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
options.LEFT=BUTTON_MIDLEFT;
|
||||
options.RIGHT=BUTTON_MIDRIGHT;
|
||||
#else
|
||||
|
|
@ -219,7 +219,7 @@ static void setoptions (void)
|
|||
#error No Keymap Defined!
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHPAD
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
options.UP=BUTTON_TOPMIDDLE;
|
||||
options.DOWN=BUTTON_BOTTOMMIDDLE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue