Rockbox Technical Forums

Support and General Use => User Interface and Voice => Topic started by: evanthepanther on February 03, 2010, 06:18:43 PM

Title: Ipod 5g 30gb, possible to change the control mapping?
Post by: evanthepanther on February 03, 2010, 06:18:43 PM
For some odd reason, the left side of my scroll wheel, wont work, and its extremely frustrating having to go around the wheel once per line. So what I'm asking is, is there a way to map the scrolling, to the play and menu buttons? Or really is there a way to change the controls at all?

this has been going on since before I got rockbox, and I've tried reformating, reinstalling the ipod firmware, everything i could think of, and nothing ever helped. So if I could remap the controls for rockbox, it would take a good deal of frustration off of my back.

thanks in advance
Title: Re: Ipod 5g 30gb, possible to change the control mapping?
Post by: AlexP on February 04, 2010, 07:29:44 AM
Yes, but you will have to edit the source code then compile Rockbox.

The file you want to edit is apps/keymaps/keymap-ipod.c
Title: Re: Ipod 5g 30gb, possible to change the control mapping?
Post by: evanthepanther on February 04, 2010, 10:49:11 AM
ok, uhm

what directory is that under? I searched every one on the ipod and it still doesnt turn up any "apps" or "keymaps" files/folders.
Title: Re: Ipod 5g 30gb, possible to change the control mapping?
Post by: mc2739 on February 04, 2010, 11:09:13 AM
what directory is that under? I searched every one on the ipod and it still doesnt turn up any "apps" or "keymaps" files/folders.

That is not on your ipod.  It is in the Rockbox source code. 

See: http://www.rockbox.org/wiki/DocsIndex#For_Developers for more information on working with the source code.
Title: Re: Ipod 5g 30gb, possible to change the control mapping?
Post by: evanthepanther on February 05, 2010, 12:12:57 AM
i'm a completely new when it comes to coding, but..

fortunately i bought a used 80gig ipod video for 40 dollars today, so, problem solved :-\