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
| | |-+  Customize time to hold "play" before shutdown? (iPod 5G)
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Customize time to hold "play" before shutdown? (iPod 5G)  (Read 5050 times)

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Customize time to hold "play" before shutdown? (iPod 5G)
« Reply #15 on: March 21, 2008, 05:52:23 PM »
For Virtual Keyboard see http://www.rockbox.org/twiki/bin/view/Main/LoadableKeyboardLayouts

For editing keymaps, first stage is a development environment.  What OS do you use?
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Customize time to hold "play" before shutdown? (iPod 5G)
« Reply #16 on: March 21, 2008, 05:54:28 PM »
There's an actual keymap file in the source for your player in /apps/keymaps, you just need to modify that and recompile your build. This is for redefining the keys, at least. Since you want to change the timeouts, I'm not sure where those are located. I would imagine that you could just leave "Stop" where it is and just shorten the timeouts on both of them. Since you haven't run into needing to use long-play for anything yet, it's not likely to interfere if you leave it around.
Logged

Offline copiesofcopies

  • Member
  • *
  • Posts: 10
Re: Customize time to hold "play" before shutdown? (iPod 5G)
« Reply #17 on: March 21, 2008, 05:55:28 PM »
Ah, ok, I didn't know you could modify keyboard layouts.  I had a more fundamental interface redesign in mind, but this will definitely be helpful for the time being.

BigBambi: I use Ubuntu (Feisty, for now).  If you want to point me to a M to RTF so you don't have to walk me through the whole process, that's ok too.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Customize time to hold "play" before shutdown? (iPod 5G)
« Reply #18 on: March 21, 2008, 05:56:33 PM »
Quote from: Llorean on March 21, 2008, 05:54:28 PM
There's an actual keymap file in the source for your player in /apps/keymaps, you just need to modify that and recompile your build. This is for redefining the keys, at least. Since you want to change the timeouts, I'm not sure where those are located. I would imagine that you could just leave "Stop" where it is and just shorten the timeouts on both of them. Since you haven't run into needing to use long-play for anything yet, it's not likely to interfere if you leave it around.

Yes indeed, keymap was rather erroneous in my post.  However, to edit the delay you will still need a dev environment to compile the code once you have edited it.

Quote from: copiesofcopies on March 21, 2008, 05:55:28 PM
BigBambi: I use Ubuntu (Feisty, for now).  If you want to point me to a M to RTF so you don't have to walk me through the whole process, that's ok too.

To set up the dev environment you want to

1)  install build-essential and subversion

2)  Check out the rockbox source with "svn co svn://svn.rockbox.org/rockbox/trunk rockbox"

3)  Build the crosscompilers with the rockboxdev.sh script in the tools directory of the downloaded source

Quote from: copiesofcopies on March 21, 2008, 05:55:28 PM
Ah, ok, I didn't know you could modify keyboard layouts.  I had a more fundamental interface redesign in mind, but this will definitely be helpful for the time being.

We are open to ideas on the interface, but with the number of features, options, players etc. that Rockbox has/runs on, it isn't easy...
« Last Edit: March 21, 2008, 06:02:38 PM by BigBambi »
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline copiesofcopies

  • Member
  • *
  • Posts: 10
Re: Customize time to hold "play" before shutdown? (iPod 5G)
« Reply #19 on: March 21, 2008, 06:12:24 PM »
Quote from: BigBambi on March 21, 2008, 05:56:33 PM
We are open to ideas on the interface, but with the number of features, options, players etc. that Rockbox has/runs on, it isn't easy...

I hate you guys... ;)

What I had in mind shouldn't be too difficult to implement on a number of players, I don't think.  Maybe it would be best to draw a picture...

Grabbing the SVN trunk now.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Customize time to hold "play" before shutdown? (iPod 5G)
« Reply #20 on: March 21, 2008, 06:16:58 PM »
Be aware that Rockbox runs on targets with screens from 112x64 monochrome up to 320x240 and 240x320 16-bit color, as well as having one player that has a text-only screen that is a mere two lines tall.

If it's something that requires a picture be drawn, I imagine it contains visual elements, so these are things to be aware of (though obviously the text-only player has a lot of UI elements that are simplified forms of the bitmap display ones).
Logged

Offline copiesofcopies

  • Member
  • *
  • Posts: 10
Re: Customize time to hold "play" before shutdown? (iPod 5G)
« Reply #21 on: March 21, 2008, 06:19:55 PM »
Quote from: Llorean on March 21, 2008, 06:16:58 PM
If it's something that requires a picture be drawn, I imagine it contains visual elements, so these are things to be aware of (though obviously the text-only player has a lot of UI elements that are simplified forms of the bitmap display ones).

Right... how is this done in other places?  Take for example the file list, which has customizable fonts and icons on the 5G ipod.  Is there just separate code for the less capable displays?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Customize time to hold "play" before shutdown? (iPod 5G)
« Reply #22 on: March 21, 2008, 06:22:47 PM »
There's only one less capable display, in that sense. The text-only one.
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Customize time to hold "play" before shutdown? (iPod 5G)
 

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

Page created in 0.073 seconds with 14 queries.