PictureFlow: Fix broken (iPod) keymap

I must have only tested de8ee6c9e9 using my
custom iPod keymap. Re-mapping the "Left"
and "Right" buttons in this context badly breaks
existing behavior in Pictureflow when using
Rockbox's default iPod keymap.

Change-Id: I2aff6297d7e229a056383afe6074c41829b38e2d
This commit is contained in:
Christian Soffke 2022-01-30 18:59:30 +01:00 committed by Solomon Peachy
parent 2ddbb9cad5
commit fb91184c4f

View file

@ -151,10 +151,6 @@ const struct button_mapping pf_context_buttons[] =
|| (CONFIG_KEYPAD == IPOD_3G_PAD) \ || (CONFIG_KEYPAD == IPOD_3G_PAD) \
|| (CONFIG_KEYPAD == IPOD_4G_PAD) \ || (CONFIG_KEYPAD == IPOD_4G_PAD) \
|| (CONFIG_KEYPAD == MPIO_HD300_PAD) || (CONFIG_KEYPAD == MPIO_HD300_PAD)
{PF_JMP_PREV, BUTTON_LEFT, BUTTON_NONE},
{PF_JMP_PREV, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE},
{PF_JMP, BUTTON_RIGHT, BUTTON_NONE},
{PF_JMP, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE},
{PF_QUIT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU}, {PF_QUIT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU},
#elif CONFIG_KEYPAD == IAUDIO_M3_PAD #elif CONFIG_KEYPAD == IAUDIO_M3_PAD
{PF_QUIT, BUTTON_RC_REC, BUTTON_NONE}, {PF_QUIT, BUTTON_RC_REC, BUTTON_NONE},