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
| | |-+  Remapping keys in H1xx
« previous next »
  • Print
Pages: [1]

Author Topic: Remapping keys in H1xx  (Read 1503 times)

Offline ShinyFalcon

  • Member
  • *
  • Posts: 5
Remapping keys in H1xx
« on: April 11, 2008, 12:59:47 AM »
I am interested in remapping two of the keys in my H120 dap, since I do not like the loud clicky noise the joystick makes when I press on it.  :P

I'm looking at button-h100.c, and I think see where I can swap two values, but I don't know what to swap. I'm thinking of swapping the stop button and the select button.

It probably isn't possible if it's hard wired to the hardware, is it?
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: Remapping keys in H1xx
« Reply #1 on: April 11, 2008, 02:10:44 AM »
I think you should be able to swap those two in button-h100.c. Another approach would be to edit the keymap in apps/keymaps/keymap-h1x0_h3x0.c.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline ShinyFalcon

  • Member
  • *
  • Posts: 5
Re: Remapping keys in H1xx
« Reply #2 on: April 11, 2008, 11:29:55 AM »
Looks like editing the keymap would be the way to go.

I can keep the power off function when I hold stop and get the menu by pressing stop without holding it down. I will have to modify the following:

action menu, button mode | button release, button mode // original
action menu, button stop | button release, button stop // press stop to bring up menu
action stop, button select | button release, button select // press select to stop
action context, button stop | button repeat, button stop // sound context menu, keep consistent with stop

It would be quite troublesome if I would have to compile rockbox everytime a new build comes out. Is there a patch of some type/hex editing that I can do?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Remapping keys in H1xx
 

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

Page created in 0.067 seconds with 15 queries.