Support and General Use > User Interface and Voice
Request: WPS Hotkey for Stoping Playback and going back a directory
(1/1)
BrianT:
Hello, I have just "upgraded" from a sansa e200 to a sansa fuze v2. One of the things I noticed is that while pressing the "Home" Button on the WPS is that it goes to Playlists. On my e200 the Home Button stopped playback while on the WPS Screen. This is kind of what I was expecting on the sansa fuze, but no such luck. I found out that there is a feature under general settings>hotkey>wps hotkey that could change the behavior of the home button on the sansa fuze, but there was no option to stop playback while on the wps screen. I was really hoping that someone could add this feature. If so I would realllly appreciate it!
I'm running rockbox 3.9 on both my sansa e200 v1 and my sansa fuze v2.
Again I would really appreciate someone adding the ability to stop playback in the WPS screen with the hotkey option (aka home button).
Thanks in Advance.
[Saint]:
Is there something wrong with using "long play"?
If so, what?
(serious question, btw)
[St.]
BrianT:
--- Quote ---Is there something wrong with using "long play"?
--- End quote ---
Well yes, and no. The problem is I guess, somewhat of a button preferance. You see on the e200 I got used to pressing the home button (actually power button I Guess some people call it) to stop my music. I was kind of thinking thinking this would be the same on my sansa, but it is not. I guess I would get used to it eventually, but I was just hoping it might possible to make this preferance of mine a user changeable option via the hotkey menu. If it is not possible, then could someone help me write a patch or at least tell me what I need to modify in the source to possibly get this to work. Thanks.
[Saint]:
Its certainly possible...as for will it happen, the answer is almost certainly no.
Hotkey is a means to provide additional functions to the WPS/File-Browser, a need that arises from crowded keymaps and/or lack of physical buttons, not a means to duplicate functions that already exist based on personal preference.
Editing the keymap is fairly trivial (depending of course, on your individual definition of trivial).
There isn't just a file you can edit on the device that sets the functions of the keys, it needs to be edited in the source files before the binary is compiled. You will need to set up a development environment to compile Rockbox to achieve this.
The wiki has many fine resources available to assist you in doing so.
The file you are looking for in particular is located in the Rockbox source at:
/rockbox/apps/keymaps/keymap-fuze.c
And (I'm writing this from memory, so...it may or may not be *absolutely* accurate) the part you'll want to edit is (or will look vaguely similar to ;) ):
--- Code: ---(ACTION_WPS_STOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP ),
--- End code ---
(it should be located around line 50 of keymap-fuze.c)
which unless there are conflicts (which may well happen), you should be able to change to:
--- Code: ---(ACTION_WPS_STOP, BUTTON_HOME|BUTTON_REPEAT, BUTTON_HOME ),
--- End code ---
Hope this helps you achieve what you want to...
[St.]
AlexP:
Customisable buttons are no longer on the nodo list, however if they are to be implemented it would need to be in a consistent, well thought out, extensible format which requires a fair bit of planning and then work. The chances of adding something like you ask are very slim, it needs to be done properly and not ad-hoc.
Your option for the time being is to edit the source and recompile, please feel free to ask for help doing that is you decide to so do.
Navigation
[0] Message Index
Go to full version