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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Remap Keys
« previous next »
  • Print
Pages: [1]

Author Topic: Remap Keys  (Read 1624 times)

Offline djremix71

  • Member
  • *
  • Posts: 1
Remap Keys
« on: December 15, 2009, 07:59:31 PM »
Hello,
I recently dropped a metal fan on my Sansa e200 and it complete destroyed the power/menu key of my sansa. Is there any way to remap the keys?

Thanks,
David Luttrull
Logged

Offline tomers

  • Developer
  • Member
  • *
  • Posts: 76
Re: Remap Keys
« Reply #1 on: December 16, 2009, 12:36:56 AM »
Quote from: djremix71 on December 15, 2009, 07:59:31 PM
I recently dropped a metal fan on my Sansa e200 and it complete destroyed the power/menu key of my sansa. Is there any way to remap the keys?

The only way to do it is to modify apps/keymaps/keymap-e200.c:

http://svn.rockbox.org/viewvc.cgi/trunk/apps/keymaps/

Note however that this is a delicate task and it will be hard to achieve usability.

You might want to copy key-mapping from a target that has N-1 available keys, where N is the number of keys that the e200 got.

You can also replace the POWER key with any other key, e.g. swap BUTTON_UP as BUTTON_POWER, so that you won't have BUTTON_UP. Do this by modifying button_int() in firmware/target/arm/sandisk/sansa-e200/button-e200.c
See: http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/arm/sandisk/sansa-e200/

Whatever you do, please post a patch here (not on FlySpray!) so that other people who dropped a metal fan on their Sansa e200 and completely destroyed some buttons can benefit from it :-)
Logged

Offline mc2739

  • Developer
  • Member
  • *
  • Posts: 262
Re: Remap Keys
« Reply #2 on: December 16, 2009, 07:21:50 AM »
If you destroyed the power button, how do you plan to turn on your e200.  Although the buttons functions can be changed within Rockbox, there is no way to change the power on function to any other button.  This is a hardware limitation, not a Rockbox limitation.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Remap Keys
 

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

Page created in 0.074 seconds with 16 queries.