Support and General Use > Hardware
AGPTEK Rocker
menachem:
I've recently moved to the AGPTEK Rocker with rockbox installed, and am still finding my way around, so I may have missed how to do this.
I have the Timestretch option enabled, and I rebooted the Rocker, but I can't figure out how to get to the Timestretch Options. I can open the Pitch Screen, but I can't switch through the available modes.
The Sansa C200 uses the Rec key to do this, for example: https://download.rockbox.org/daily/manual/rockbox-sansac200/rockbox-buildch4.html#x6-630004.3.3
The Sansa Clipp Plus uses the Menu key.
How do we do this on the AGPTEK Rocker, which doesn't have a Rec key or a Menu key?
---------------
Also, in the Pitch Screen, clicking on the up arrow send you back to the While Playing Screen, instead of changing the pitch.
JJ:
I just got the rocker and also found that I couldn't change the playback speed. I use this all the time on my clip zip when listening to podcasts.
I looked at the code and saw that the action to toggle the mode isn't mapped to a button.
The default toggles between two modes. Changing this setting gives more modes with the ability to increase playback speed with pitch correction.
Settings->Sound Settings->Timestretch->Yes
Here's the changes I suggest to make to
"static const struct button_mapping button_context_pitchscreen[]" in "apps/keymaps/keymap-agptekrocker.c"
Move exit to BUTTON_SELECT so it acts like confirming a setting.
Keeping BUTTON_POWER to also exit is ok. It's not as convenient to use, but doesn't hurt anything. This was the only way on the clip and I found it annoying.
Toggle mode on BUTTON_UP to navigate.
Reset by holding BUTTON_SELECT. (Could also use BUTTON_DOWN)
I like keeping the pitch only control on the volume up/down since those might not be used very often. I know I don't use that ability.
Current mappings:
--- Code: ---// { ACTION_PS_TOGGLE_MODE, BUTTON_REC, BUTTON_NONE },
{ ACTION_PS_RESET, BUTTON_SELECT, BUTTON_NONE },
{ ACTION_PS_EXIT, BUTTON_POWER, BUTTON_NONE },
{ ACTION_PS_EXIT, BUTTON_UP, BUTTON_NONE },
--- End code ---
New mapping suggestion:
--- Code: --- { ACTION_PS_TOGGLE_MODE, BUTTON_UP, BUTTON_NONE },
{ ACTION_PS_RESET, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT },
{ ACTION_PS_EXIT, BUTTON_POWER, BUTTON_NONE },
{ ACTION_PS_EXIT, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT },
--- End code ---
On the the now playing screen,
"static const struct button_mapping button_context_wps[]"
Set button to get to the pitch screen. Hold BUTTON_UP is the same as the clip and isn't currently assigned on the rocker.
I use this action a lot since I change the speed based on what I'm listening to.
--- Code: ---{ ACTION_WPS_PITCHSCREEN, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP },
--- End code ---
I think these above changes should made and won't break how people currently use the device.
--
In my build I made some other changes to button_context_wps, but not sure what is consistent or most useful to have easier access to.
Here's my current experimentation. I think I use browse the most.
Changed lock to a 2 button press. This is an easy combo to do with one hand. Much easier that what the clip had.
--- Code: ---{ ACTION_STD_KEYLOCK, BUTTON_POWER|BUTTON_VOLUP, BUTTON_NONE }, // was BUTTON_POWER
{ ACTION_WPS_QUICKSCREEN, BUTTON_POWER|BUTTON_REL, BUTTON_POWER }, // was hold BUTTON_DOWN
{ ACTION_WPS_VIEW_PLAYLIST, BUTTON_POWER|BUTTON_VOLDOWN, BUTTON_NONE }, // was unassigned
{ ACTION_WPS_BROWSE, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_DOWN }, // was unassigned
--- End code ---
wodz:
Thanks for inspiration:
https://git.rockbox.org/?p=rockbox.git;a=commit;h=b552a3720525652d01fe94e214d4fb195acab50a
I feel keymap needs more refinement. Personally I am against using 2-keys-combo for locking when simple power is available and consistent with OF and general smartphone feeling.
Bilgus:
@Wodz
Have you verified if the volume up keys work in menus on the Rocker?
I saw your keymap patch and noted that the other person that submitted a patch in gerrit
http://gerrit.rockbox.org/r/#/c/1900/5/apps/keymaps/keymap-agptekrocker.c@102
had to switch to using BUTTON_VOLUP instead of BUTTON_VOL_UP
I also don't see BUTTON_VOL_UP defined here: https://github.com/Rockbox/rockbox/blob/d64ff86fb6be22875cfae054f8a878dbd8b1472b/firmware/target/hosted/agptek/button-target.h
Gomas:
If it means something, I can't change volume from menu in the (I believe) stable version of rockbox. Some menus doesn't work either when trying to change some settings. Message below.
http://forums.rockbox.org/index.php/topic,51653.msg243162.html#msg243162
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version