Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  changing button config
« previous next »
  • Print
Pages: [1]

Author Topic: changing button config  (Read 3540 times)

Offline dmdarkmaster

  • Member
  • *
  • Posts: 5
changing button config
« on: July 25, 2008, 01:47:02 AM »
i have aproblem with my sansa the left button is permanently pressed (even with the button removed) i want to chancge the configuration of the buttons, i lost the left arrow i want to move it to the record buton and dismmised the rec button how can i do it, i want to left the back buton without  function, any ideas for that.

i don´t know anything about programation so can you explain me how to do it step by step, (with apples and pears ha ha ha)

please this is the only way i got (besides kiking it)

excuse my english i speak spanish sorry
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: changing button config
« Reply #1 on: July 25, 2008, 07:45:01 AM »
You need to set up a compiling environment.  There are details on how to do this in the wiki.  Once you've done that it's rather simple to modify the keys and compile your own build, but noone is going to hold your hand and walk you through it as all the instructions have already been written down once.
Logged

Offline dmdarkmaster

  • Member
  • *
  • Posts: 5
Re: changing button config
« Reply #2 on: July 25, 2008, 01:01:51 PM »
where can i find the instructions for the configuration of the butons, what file should i reprogram
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: changing button config
« Reply #3 on: July 25, 2008, 01:12:32 PM »
/apps/keymaps/keymap-e200 or c200, as you didn't mention what player you have.
Logged

Offline dmdarkmaster

  • Member
  • *
  • Posts: 5
Re: changing button config
« Reply #4 on: July 25, 2008, 07:08:41 PM »
Quote from: MarcGuay on July 25, 2008, 01:12:32 PM
/apps/keymaps/keymap-e200 or c200, as you didn't mention what player you have.
i got sansa e200
ican't fuond this i just fund the folder apps but there is no keymaps file, sould i get a program to see it first? ( i download the Current Rockbox Build from today and i'm tring to modify this am i wrong? )  i read the wiki but don't understand how to modify the rockbox key map
« Last Edit: July 25, 2008, 07:31:54 PM by dmdarkmaster »
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: changing button config
« Reply #5 on: July 25, 2008, 07:46:25 PM »
Quote from: MarcGuay on July 25, 2008, 07:45:01 AM
You need to set up a compiling environment.  There are details on how to do this in the wiki. 

Try here:
http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: changing button config
« Reply #6 on: July 26, 2008, 11:39:08 AM »
Quote from: dmdarkmaster on July 25, 2008, 07:08:41 PM
Quote from: MarcGuay on July 25, 2008, 01:12:32 PM
/apps/keymaps/keymap-e200 or c200, as you didn't mention what player you have.
i got sansa e200
ican't fuond this i just fund the folder apps but there is no keymaps file, sould i get a program to see it first? ( i download the Current Rockbox Build from today and i'm tring to modify this am i wrong? ) 

You need to modify and compile the rockbox source code, not a compiled build of rockbox.  See MarcGuay's link.
Logged

Offline dmdarkmaster

  • Member
  • *
  • Posts: 5
Re: changing button config
« Reply #7 on: July 27, 2008, 06:52:22 AM »
ok, thanks, i got the enviroment, and got  the rockbox source code, now how can i modify the files that i download, can sombody give me a link for that o explain me how can i modify the configuration

the links below explain only how get the source code and compile into the rockbox but doesn´t explain how can i edit the source code, i can acces the folder /apps/keymaps/ but can not open the keymaps-e200.c file how do i open it and how do i edit this, im in Cygwin
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: changing button config
« Reply #8 on: July 27, 2008, 11:27:50 AM »
Quote from: dmdarkmaster on July 27, 2008, 06:52:22 AM
the links below explain only how get the source code and compile into the rockbox but doesn´t explain how can i edit the source code, i can acces the folder /apps/keymaps/ but can not open the keymaps-e200.c file how do i open it and how do i edit this, im in Cygwin

Use a text editor.  For simple changes, the built in Windows editor "notepad" will work.  For more complicated changes, you may want to download a more sophisticated editors like notepad++ or textpad.
Logged

Offline dmdarkmaster

  • Member
  • *
  • Posts: 5
Re: changing button config
« Reply #9 on: July 27, 2008, 10:23:36 PM »
i alredy compile the new keymaped rockbox but i have a problem, with wordpad i change all the rec_buttons for none_button and all the left_buttons for rec_buttons, and it work the rec_button do what left_button shuold do as i wannted to,  but the first touch to the scrollwell rigth or left is to sensitive and it scroll up or down like if i touched it 10 times the secound touch is a normal one, but if i stop scroling, it goes to fast again what do you think i should do?

by the way thanks to all of you for making the rockbox beeing, patient with my dumb questions and my bad english ( im happy because you understand my bad english ) you guys save my sansa and my wallet, relly a lot of thanks to you.
« Last Edit: July 27, 2008, 10:35:20 PM by dmdarkmaster »
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: changing button config
« Reply #10 on: July 28, 2008, 09:00:49 AM »
I don't think it's quite as simple as changing all of the recordings to none and the lefts to recording.  You should look at the code and figure out what it's going to do before changing it.  Each keymap, or set of keypresses, refers to a different screen, and the 3 columns also have different meanings.  Pick one, figure out what the deal is, and then modify them as you wish. 
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  changing button config
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.073 seconds with 14 queries.