Support and General Use > User Interface and Voice
Hint on changing key or menu mapping
WarpEnterprises:
Hi!
I'm aware that there is no way to customize keys or menus (which I find a pity),
but I'm willing to try doing it by changing code. Sadly I was not able to find where to start for my task.
I'm running RB on a SansaClipZip. I would like to mark a song as "bad" (for later deletion) with as few clicks as possible.
What would be the easiest way:
* change the rating of the playing song to 1, e.g. long press button up and entering "set song rating" instead of entering the pitch screen
* delete the song
* set some file attributes
* write out a textfilePleasy, any ideas to achieve this are welcome!
saratoga:
None of that is going to be easy.
Why can't you just delete the song?
AlexP:
Remapping existing keys is easy, assigning new actions less so.
WarpEnterprises:
Thanks for your replies.
Simple deleting: it needs 5 clicks and makes it much more difficult to sync it to the music collection on my PC
What do you mean by "remapping existing keys"? Make changes in keymap*.c?
Can you please give me a hint where in the code the order of the menu items is written? By reordering the wps context menu so that "song rating" is the first entry I would be nearly done.
I suppose it's no easy change to open the "song rating" screen instead of the wps context menu?
saratoga:
I think on many targets this can be done by setting a hotkey to delete or song ratings (section 4.5 of the manual for devices with the feature). However, the Zip doesn't have hotkeys enabled in sansaclipzip.h due to either a lack of buttons or a lack of someone enabling them. You could take a look at that mechanism and see if it works for you.
Navigation
[0] Message Index
[#] Next page
Go to full version