Hi, have a question
I wanna change function buttons in my Sansa Clip+, i think it's would be better for me "play/pause" button mapped on "Home" button.
In last release of Rockbox for Sansa Clip+ i find a file named "\.rockbox\rocks\viewers\lua\buttons.lua" with text:
-- Don't change this file!
-- It is automatically generated of button.h $Revision: 21630 $
rb.buttons = {
BUTTON_UP = 8,
BUTTON_VOL_DOWN = 4,
BUTTON_SELECT = 128,
BUTTON_REMOTE = 0,
BUTTON_POWER = 256,
BUTTON_DOWN = 16,
BUTTON_LEFT = 32,
BUTTON_RIGHT = 64,
BUTTON_MAIN = 511,
BUTTON_HOME = 1,
BUTTON_VOL_UP = 2,
BUTTON_REL = 33554432,
BUTTON_REPEAT = 67108864,
BUTTON_TOUCHSCREEN = 134217728,
}
Question: If i change port numbers in this file BUTTON_HOME = 1 to BUTTON_HOME = 8 and BUTTON_UP = 8 to BUTTON_UP = 1 it will work or not? And if i'm wrong what can i do to change buttons?
Thx a lot for answers..