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
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Changing User Interface behaviour myself - iRiver H300 Series
« previous next »
  • Print
Pages: [1]

Author Topic: Changing User Interface behaviour myself - iRiver H300 Series  (Read 2145 times)

Offline ufo

  • Member
  • *
  • Posts: 15
Changing User Interface behaviour myself - iRiver H300 Series
« on: October 28, 2010, 09:52:35 AM »
Hope I'm posting in the correct section here.

Recently d/led and installed the Rockbox latest build for my iRiver H300 Series.


There are a few small behaviours I don't like about it but was hoping I could fix them myself by some editing, unless someone else can point me in the correct direction of where I should suggest this.


Original Firmware:

In Original firmware, Sleep Timer could be activated at any point, even while track was playing.


Rockbox Firmware:

Track must first be stopped, then go to System -> Date and Time -> Sleep Time



Fix:

Want to make "System" menu section available while track is still playing.



Anyone know what file I need to edit or what files do I need to work on/edit to achieve the changes I'm wanting?

Configuration files? (ie. .config files)?




PS - I have a few other niggles here also I would like fixed, but this is good for starters. Figure at least if I try to help myself someone can point me in the right direction?
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Changing User Interface behaviour myself - iRiver H300 Series
« Reply #1 on: October 28, 2010, 09:53:38 AM »
To change that behavior, you'll have to modify the source code and roll yourself a custom build with the changes you want.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Changing User Interface behaviour myself - iRiver H300 Series
« Reply #2 on: October 28, 2010, 11:33:13 AM »
Just as a note though, all the menus are already available while music is playing.
Logged

Offline ufo

  • Member
  • *
  • Posts: 15
Re: Changing User Interface behaviour myself - iRiver H300 Series
« Reply #3 on: October 28, 2010, 01:52:45 PM »
Quote
Just as a note though, all the menus are already available while music is playing.

They don't seem to be for me, unless I'm doing something wrong? When music starts playing my options for selection seem to be drastically reduced.

Quote
To change that behavior, you'll have to modify the source code and roll yourself a custom build with the changes you want.

I thought this much, where can I get the source code? I've been hunting around the various links but can't seem to find it.

And is this the generalised source code for Rockbox overall? Or specific source code to my player?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Changing User Interface behaviour myself - iRiver H300 Series
« Reply #4 on: October 28, 2010, 01:56:35 PM »
Quote from: ufo on October 28, 2010, 01:52:45 PM
Quote
Just as a note though, all the menus are already available while music is playing.

They don't seem to be for me, unless I'm doing something wrong? When music starts playing my options for selection seem to be drastically reduced.

The menus don't change at all when you hit play, so I'm not sure what you mean.  Just start music playing, go back to the main menu, and the go where ever you want from there.

Quote from: ufo on October 28, 2010, 01:52:45 PM
Quote
To change that behavior, you'll have to modify the source code and roll yourself a custom build with the changes you want.

I thought this much, where can I get the source code? I've been hunting around the various links but can't seem to find it.

Check out the "contribute" link on the front page, or head over to the wiki directly. 

Quote from: ufo on October 28, 2010, 01:52:45 PM
And is this the generalised source code for Rockbox overall? Or specific source code to my player?

Theres only one rockbox, its just run on a lot of different players. 
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Changing User Interface behaviour myself - iRiver H300 Series
« Reply #5 on: October 28, 2010, 02:40:29 PM »
It sounds like you are opening the context menu for the while playing screen, instead of going back to the main menu. Hit A-B instead of whatever button you're pressing. Refer to the manual (http://download.rockbox.org/daily/manual/rockbox-iriverh300/rockbox-buildch4.html#x7-480004.3.1) for the controls...
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline ufo

  • Member
  • *
  • Posts: 15
Re: Changing User Interface behaviour myself - iRiver H300 Series
« Reply #6 on: October 29, 2010, 06:13:59 PM »
Quote
Check out the "contribute" link on the front page, or head over to the wiki directly.

Found rbutil_1.2.8-src.tar.gz - but I thought Rockbox was up to v1.36?

So why only 1.2.8 in source?


Also, which particular file should I be looking at to modify button behaviour - is it somewhere in main.cpp ?

I've been through loads of files but can't seem to find the right one  ???
« Last Edit: October 29, 2010, 06:51:23 PM by ufo »
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Changing User Interface behaviour myself - iRiver H300 Series
« Reply #7 on: October 29, 2010, 09:49:59 PM »
Quote from: ufo on October 29, 2010, 06:13:59 PM
Also, which particular file should I be looking at to modify button behaviour - is it somewhere in main.cpp ?

rockbox/apps/keymaps/<your_target_name>.c



[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline pondlife

  • Developer
  • Member
  • *
  • Posts: 248
Re: Changing User Interface behaviour myself - iRiver H300 Series
« Reply #8 on: November 10, 2010, 07:42:07 AM »
Quote
Found rbutil_1.2.8-src.tar.gz - but I thought Rockbox was up to v1.36?

That's RBUtil - the Rockbox Utility, not Rockbox itself (which is up to 3.7, FWIW).

Subversion is by far the best way to obtain the Rockbox source (for any release, or build).  Take a look at http://www.rockbox.org/wiki/UsingSVN for details.

Having said that, you shouldn't need to change anything - just press the A-B button to acces the menus as torne suggested.

p.s. (to others) http://build.rockbox.org/ mentions that the source is available from the daily build page - is this actually true?

pondlife
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Changing User Interface behaviour myself - iRiver H300 Series
« Reply #9 on: November 10, 2010, 08:07:01 AM »
Quote from: pondlife on November 10, 2010, 07:42:07 AM
p.s. (to others) http://build.rockbox.org/ mentions that the source is available from the daily build page - is this actually true?


It used to be, seems that is no longer the case.
One, or the other, needs fixing I guess.


[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Changing User Interface behaviour myself - iRiver H300 Series
 

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

Page created in 0.113 seconds with 15 queries.