mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4d238c14d7
commit
81ba146706
35 changed files with 131 additions and 113 deletions
|
@ -185,8 +185,8 @@ static struct plugin_api* rb;
|
|||
# define SOL_QUIT BUTTON_POWER
|
||||
# define SOL_UP BUTTON_UP
|
||||
# define SOL_DOWN BUTTON_DOWN
|
||||
# define SOL_LEFT BUTTON_SCROLL_UP
|
||||
# define SOL_RIGHT BUTTON_SCROLL_DOWN
|
||||
# define SOL_LEFT BUTTON_SCROLL_BACK
|
||||
# define SOL_RIGHT BUTTON_SCROLL_FWD
|
||||
# define SOL_MOVE BUTTON_SELECT
|
||||
# define SOL_DRAW BUTTON_REC
|
||||
# define SOL_REM2CUR BUTTON_LEFT
|
||||
|
@ -1408,7 +1408,7 @@ int solitaire( int skipmenu )
|
|||
/* what to do when a key is pressed ... */
|
||||
button = rb->button_get( true );
|
||||
#if (CONFIG_KEYPAD == SANSA_E200_PAD)
|
||||
if (button&(BUTTON_SCROLL_UP|BUTTON_SCROLL_DOWN))
|
||||
if (button&(BUTTON_SCROLL_BACK|BUTTON_SCROLL_FWD))
|
||||
button = button & (~BUTTON_REPEAT);
|
||||
#endif
|
||||
switch( button )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue