Make the ab-repeat set keys easier to use by removing a restrictive pre-condition. That also solves the awkward timing for directory skip as discussed in FS#8047. Other targets (e.g. sansa) can probably benefit from a similar change, but should be tested first.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15866 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Kukla 2007-12-02 12:07:01 +00:00
parent 0b1f45adb3
commit 7b90826ae1

View file

@ -77,9 +77,9 @@ static const struct button_mapping button_context_wps[] = {
{ ACTION_WPS_STOPSEEK, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT|BUTTON_REPEAT },
{ ACTION_WPS_STOPSEEK, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT|BUTTON_REPEAT },
{ ACTION_WPS_ABSETB_NEXTDIR, BUTTON_A|BUTTON_RIGHT, BUTTON_A },
{ ACTION_WPS_ABSETA_PREVDIR, BUTTON_A|BUTTON_LEFT, BUTTON_A },
{ ACTION_WPS_ABRESET, BUTTON_A|BUTTON_SELECT, BUTTON_A },
{ ACTION_WPS_ABSETB_NEXTDIR, BUTTON_A|BUTTON_RIGHT, BUTTON_NONE },
{ ACTION_WPS_ABSETA_PREVDIR, BUTTON_A|BUTTON_LEFT, BUTTON_NONE },
{ ACTION_WPS_ABRESET, BUTTON_A|BUTTON_SELECT, BUTTON_NONE },
{ ACTION_WPS_VOLDOWN, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_WPS_VOLDOWN, BUTTON_DOWN, BUTTON_NONE },