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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Rockbox as App for Samsung YP-R0 need help with buttonmap
« previous next »
  • Print
Pages: [1]

Author Topic: Rockbox as App for Samsung YP-R0 need help with buttonmap  (Read 2968 times)

Offline slade

  • Member
  • *
  • Posts: 8
Rockbox as App for Samsung YP-R0 need help with buttonmap
« on: March 21, 2011, 08:43:24 AM »
Hey everybody, I desperatly need help with the button mapping on rockbox as an app for my yp-r0.

rockbox app started and I managed to get the libs set right so the entire theme shows up.
I don't have a touchscreen so i'd like to also compile app without touchscreen and use my tactile keyboard.

is there a way to figure out the button mapping with an app and also where do I set the buttonmap for the build?

thank you so much for your help
Logged

Offline dheyse

  • Member
  • *
  • Posts: 8
Re: Rockbox as App for Samsung YP-R0 need help with buttonmap
« Reply #1 on: March 21, 2011, 02:29:08 PM »
Hey, this sounds a bit like my zipit build.  The zipit has a weird keyboard and no touchscreen.

http://macrofig.blogspot.com/

There's a tiny patch for the zipit buttons in the Tweaking Rockbox blog post.  That'll show you where to look.  I think there have been some updates for pandora and maemo keyboards since I grabbed the sources.  (It's about time to refetch from svn and do the patch the right way)

Building without touchscreen support is a bit tricky.  Your best bet is to disable both HAVE_TOUCHSCREEN and HAVE_BUTTON_DATA because they're a bit tangled up in the code.  Back in February that was done in firmware/export/config/application.h, but now I think it's been split up and moved to sdlapp.h  I also had to add the keymap-touchscreen.c file back into apps/SOURCES because the keymap-sdl.c file still needed it when HAVE_TOUCHSCREEN was disabled.  Not sure if that's fixed yet.

#elif CONFIG_KEYPAD == SDL_PAD
keymaps/keymap-sdl.c
#ifndef HAVE_TOUCHSCREEN
keymaps/keymap-touchscreen.c
#endif
#endif

Good luck and have fun
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Rockbox as App for Samsung YP-R0 need help with buttonmap
 

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

Page created in 0.061 seconds with 15 queries.