Sorry I just saw that you already found the plugin
so you won't actually be remapping the button you will be remapping the actions for that button
Ill use the text import to save you having to type this in but I'd suggest you edit and ply around to get exactly what you want
here is one using volume down and volume up but I had a hard time getting the timing just right to not accidentally change the volume
# Key Remap
# Device: Sandisk Sansa Zip
# Entries: 6
# Each entry should be PROPER_CASE and on its own line
# Comments run to end of line
CONTEXT_LIST = {
{ACTION_STD_NEXT, BUTTON_VOL_UP | BUTTON_VOL_DOWN, BUTTON_NONE},
}
CONTEXT_MAINMENU = {
{ACTION_STD_NEXT, BUTTON_VOL_DOWN | BUTTON_UP, BUTTON_NONE},
}
CONTEXT_TREE = {
{ACTION_STD_NEXT, BUTTON_VOL_UP | BUTTON_VOL_DOWN, BUTTON_NONE},
}
you might be able to get it to work using |BUTTON_REL or BUTTON_REPEAT or even mapping someting in CONTEXT_STD but I don't feel like fiddling with it
I had better luck using Select and Volume down abeit slightly less convenient..
# Key Remap
# Device: Sandisk Sansa Zip
# Entries: 6
# Each entry should be PROPER_CASE and on its own line
# Comments run to end of line
CONTEXT_LIST = {
{ACTION_STD_NEXT, BUTTON_VOL_DOWN | BUTTON_SELECT, BUTTON_NONE},
}
CONTEXT_MAINMENU = {
{ACTION_STD_NEXT, BUTTON_VOL_DOWN | BUTTON_SELECT, BUTTON_NONE},
}
CONTEXT_TREE = {
{ACTION_STD_NEXT, BUTTON_VOL_DOWN | BUTTON_SELECT, BUTTON_NONE},
save one of these to a file 'keyremap.txt' in the root of the drive (same level as the .rockbox directory)
open keyremap and go to 'Import Text Keymap' choose the file
go to 'Edit Keymap' if you want to make any changes
now choose 'Temp Core Remap' so if something goes wrong a reboot will clear it
once you have it how you like save it or export it and then choose
'Set Core Remap'
if you would like to revert then choose 'Remove Core Remap'
on exit if you didn't save it'll ask you to save if you already exported then feel free to cancel the save