fiiom3k: Recording keymap adjustment

Long button presses to create a new file
were in conflict with button presses to
play/pause.

Pressing SELECT is now used to create a new file
(and start recording, if stopped),
pressing PLAY/PAUSE will start or pause recording.

Change-Id: If2e568b9b05500d73fd54b691262a64d1a0ff487
This commit is contained in:
Christian Soffke 2023-08-18 13:01:47 +02:00
parent 35150b83d4
commit e43c703480
2 changed files with 3 additions and 5 deletions

View file

@ -215,10 +215,8 @@ static const struct button_mapping button_context_yesnoscreen[] = {
}; /* button_context_yesnoscreen */
static const struct button_mapping button_context_recscreen[] = {
{ACTION_REC_PAUSE, BUTTON_SELECT, BUTTON_NONE},
{ACTION_REC_PAUSE, BUTTON_PLAY, BUTTON_NONE},
{ACTION_REC_NEWFILE, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT},
{ACTION_REC_NEWFILE, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY},
{ACTION_REC_NEWFILE, BUTTON_SELECT, BUTTON_NONE},
{ACTION_STD_MENU, BUTTON_MENU, BUTTON_NONE},
{ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE},
{ACTION_STD_CANCEL, BUTTON_POWER, BUTTON_NONE},