Rockbox Technical Forums

Support and General Use => User Interface and Voice => Topic started by: kremoni on July 31, 2013, 04:43:48 PM

Title: remap power button - sandisk clipp
Post by: kremoni on July 31, 2013, 04:43:48 PM
Hi there!
The power button of my sandisk clipp plus got broken a couple of weeks after I bought it :-\
So I thought to myself their might be a way to remap this button...
I'm not a programmer, but i'm not afraid from long notepads that i need to change some letters in it :-)
can I do it?
Thanks!
Title: Re: remap power button - sandisk clipp
Post by: saratoga on July 31, 2013, 04:49:08 PM
http://git.rockbox.org/?p=rockbox.git;a=blob;f=apps/keymaps/keymap-clip.c;h=78cefbe30e7bf79d993896b25891a12e967d8eb0;hb=HEAD

The keymap is there, however thats just rockbox.  If the power button is broken, you won't be able to turn on the player in order to boot rockbox except by plugging into USB power.