Add keymap for A-B repeat on H10 and enable support for it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11238 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d8ef7c58d8
commit
44cbd337e9
3 changed files with 8 additions and 0 deletions
|
@ -71,6 +71,10 @@ const struct button_mapping button_context_wps[] = {
|
|||
{ ACTION_WPS_SEEKFWD, BUTTON_FF|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_WPS_STOPSEEK, BUTTON_FF|BUTTON_REL, BUTTON_FF|BUTTON_REPEAT },
|
||||
|
||||
{ ACTION_WPS_ABSETB_NEXTDIR, BUTTON_POWER|BUTTON_FF, BUTTON_POWER },
|
||||
{ ACTION_WPS_ABSETA_PREVDIR, BUTTON_POWER|BUTTON_REW, BUTTON_POWER },
|
||||
{ ACTION_WPSAB_RESET, BUTTON_POWER|BUTTON_PLAY, BUTTON_POWER },
|
||||
|
||||
{ ACTION_WPS_VOLDOWN, BUTTON_SCROLL_DOWN, BUTTON_NONE },
|
||||
{ ACTION_WPS_VOLDOWN, BUTTON_SCROLL_DOWN|BUTTON_REPEAT,BUTTON_NONE },
|
||||
{ ACTION_WPS_VOLUP, BUTTON_SCROLL_UP, BUTTON_NONE },
|
||||
|
|
|
@ -70,6 +70,8 @@
|
|||
|
||||
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
|
||||
|
||||
#define AB_REPEAT_ENABLE 1
|
||||
|
||||
#ifndef SIMULATOR
|
||||
|
||||
/* Define this if you have a PortalPlayer PP5020 */
|
||||
|
|
|
@ -65,6 +65,8 @@
|
|||
|
||||
#define BATTERY_CAPACITY_DEFAULT 820 /* default battery capacity */
|
||||
|
||||
#define AB_REPEAT_ENABLE 1
|
||||
|
||||
#ifndef SIMULATOR
|
||||
|
||||
/* Define this if you have a PortalPlayer PP5020 */
|
||||
|
|
Loading…
Reference in a new issue