diff options
| author | YP3 Audiobook <noreply@example.invalid> | 2026-11-27 00:51:12 +0000 |
|---|---|---|
| committer | YP3 Audiobook <noreply@example.invalid> | 2026-11-27 00:51:12 +0000 |
| commit | 7a06b5d2d7ac329dc5cba794b019ba185b9b09e2 (patch) | |
| tree | fac537bb029a8532aadec97816292c3074b9e608 /patches/0004-yp3-hold-Up-in-Now-Playing-raises-the-volume.patch | |
| parent | 4b670f7ac2635de6d6583d603d97f0bcfbec6733 (diff) | |
| download | yp3-audiobook-firmware-7a06b5d2d7ac329dc5cba794b019ba185b9b09e2.tar.gz | |
Release 1.1
- Hold Up/Down to keep changing the volume
- Pulling the SD card powers the player off instead of crashing; with no
card at power-on it says so and turns off
- Long M4B books load without freezing the controls, with a
"Loading book N%" screen
- The Center press that powers the player on no longer pauses the book
as it resumes (which also made it load twice)
- No "Bookmark saved" pause at power-off
- USB disk shows up right away while a book loads (flasher's
"NO USB DISK")
- tests/m4a: host test of the M4B index loader
Diffstat (limited to 'patches/0004-yp3-hold-Up-in-Now-Playing-raises-the-volume.patch')
| -rw-r--r-- | patches/0004-yp3-hold-Up-in-Now-Playing-raises-the-volume.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/patches/0004-yp3-hold-Up-in-Now-Playing-raises-the-volume.patch b/patches/0004-yp3-hold-Up-in-Now-Playing-raises-the-volume.patch new file mode 100644 index 0000000..037c494 --- /dev/null +++ b/patches/0004-yp3-hold-Up-in-Now-Playing-raises-the-volume.patch @@ -0,0 +1,55 @@ +From 269e5050242003eff7e5c4d88402ff96e819a468 Mon Sep 17 00:00:00 2001 +From: YP3 Audiobook <noreply@example.invalid> +Date: Thu, 26 Nov 2026 13:52:50 -0500 +Subject: [PATCH 4/5] yp3: hold Up in Now Playing raises the volume + +Tapping Up/Down steps the volume, holding either keeps stepping it. Hold +Up used to stop playback (and bookmark). + +--- + apps/keymaps/keymap-yp3.c | 15 ++++++++------- + 1 file changed, 8 insertions(+), 7 deletions(-) + +diff --git a/apps/keymaps/keymap-yp3.c b/apps/keymaps/keymap-yp3.c +index 444bd47c..d69ffd01 100644 +--- a/apps/keymaps/keymap-yp3.c ++++ b/apps/keymaps/keymap-yp3.c +@@ -2,8 +2,9 @@ + /* YP3 keys: Up ("M"), Down, Left, Right, centre (Select). On every screen: + * Left back / Right in, Up/Down move (volume on playing screens), Select the + * main action, hold Select the screen's menu, hold Up a second action where +- * Up does not scroll, Up+Left home (main menu, or cancel on prompts), hold +- * Left back where Left already acts. */ ++ * Up does not scroll (except Now Playing, where it keeps raising the ++ * volume), Up+Left home (main menu, or cancel on prompts), hold Left back ++ * where Left already acts. */ + #include "config.h" + #include "action.h" + #include "button.h" +@@ -24,10 +25,10 @@ static const struct button_mapping lists[] = { + { ACTION_STD_MENU, BUTTON_UP|BUTTON_LEFT, BUTTON_NONE }, + LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) + }; +-/* Now Playing: Up acts on release so that holding it can stop. Left/Right +- * tapped hop (Skip Length), held seek; Down+Left / Down+Right (the lower +- * corners) go to the previous / next chapter, so Down turns the volume +- * down on release, or the combo would lower it too. */ ++/* Now Playing: Up/Down tapped step the volume, held keep stepping it. Both ++ * act on release when tapped, or the Up+Left (menu) and Down+Left/Right ++ * (previous / next chapter) combos would change the volume too. Left/Right ++ * tapped hop (Skip Length), held seek. */ + static const struct button_mapping wps[] = { + { ACTION_WPS_PLAY, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT }, + { ACTION_WPS_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT }, +@@ -39,7 +40,7 @@ static const struct button_mapping wps[] = { + { ACTION_WPS_STOPSEEK, BUTTON_RIGHT|BUTTON_REL, + BUTTON_RIGHT|BUTTON_REPEAT }, + { ACTION_WPS_VOLUP, BUTTON_UP|BUTTON_REL, BUTTON_UP }, +- { ACTION_WPS_STOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP }, ++ { ACTION_WPS_VOLUP, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, + #ifdef HAVE_AUDIOBOOK_CHAPTERS + { ACTION_WPS_VOLDOWN, BUTTON_DOWN|BUTTON_REL, BUTTON_DOWN }, + { ACTION_WPS_CHAPTERPREV, BUTTON_DOWN|BUTTON_LEFT, BUTTON_NONE }, +-- +2.56.1 + |
