Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System Iriver H300 series
  • Severity Medium
  • Priority High
  • Reported Version
  • Due in Version Version 3.0
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Fredrik Öhrn - 2006-03-20
Last edited by Dave Chapman - 2006-05-25

FS#4860 - Can't navigate menus using the H300 remote joystik.

In the file browser or settings menu pushing moving the joystick right-left moves the selection up-down. Moving the joystick up-down has no effect.
This happens because the button mappings were selected with the H100 remote in mind.

Closed by  Dominik Riebeling
2006-08-27 10:30
Reason for closing:  Fixed
Additional comments about closing:  

should be fixed with the button rework. If not please open a new bug.

Matthias Mohr (aka Massa) commented on 2006-04-27 16:26

Is this still the case in newer CVS?

Fredrik Öhrn commented on 2006-05-26 21:37

Here's a patch that detects the type of remote at runtime and adjusts the relevant buttons accordingly. It's kinda ugly becasue the existing code assumes that all buttons are statically defined at compile time and I didn't want to redo everything.

Fredrik Öhrn commented on 2006-05-26 22:42

Ooops, I forgot to map the joystick push button. Here's a new patch.

Admin
Linus Nielsen Feltzing commented on 2006-05-29 13:05

How does this work with the H300 non-LCD remote?

Fredrik Öhrn commented on 2006-05-29 13:23

It doesn't but then again it probably doesn't work that well right now either… :*)

I don't have such a remote but if someone can suggest how to best map it's buttons I can add it to the patch.

Admin
Linus Nielsen Feltzing commented on 2006-05-29 13:38

I'll check it out.

Ioannis Koutoulakis commented on 2006-06-18 02:42

OK…here are the problems with the H300 LCD Remote in detail:

- File Browser

1) ">" scrolls down the list, when ">" on the main unit goes into a folder or launches a file, and "V" normally scrolls down a list

2) "<" scrolls up the list, when "<" on the main unit goes up a directory level and "^" normally scrolls up a list

3) "^" and "V" do nothing, when "^" and "V" on the main unit scroll up/down a list

4) Joystick button goes into a folder or launches a file (as it should) but when you hold it, it doesn't go to the File Context Menu, while holding NAVI in the main unit goes to the File Context Menu

5) Stop shuts down the player if hold (as it should) but when just pressed it goes up a directory level, when Stop on the main unit stops playback and "<" normally goes up a directory level

6) Play goes back to the WPS (as it should) but when hold it goes to the File Context Menu, when holding Play on the main unit do nothing and holding NAVI normally goes to the File Context Menu

- Main Menu & File Context Menu

1) ">" scrolls down the menu, when ">" on the main unit goes into a submenu, and "V" normally scrolls down the menu

2) "<" scrolls up the menu, when "<" on the main unit goes back to previous menu or exiting the Main Menu and "^" normally scrolls up the menu

3) "^" and "V" do nothing, when "^" and "V" on the main unit scroll up/down the menu

4) Play goes into a submenu, when Play on the main unit do nothing, and normally only ">" and NAVI go to a submenu

- WPS & Quick Menu

Everything Seems OK

- Starting the player

Currently the joystick button starts the player. Since the joystick button coresponds to NAVI on the main unit, it shouldn't start the player but Play should. BUT in my opinion we should leave it that way, it's better.

Sylvan Mably commented on 2006-06-21 07:08

I've updated this patch to fix the issues listed by Genre9mp3 above. I've also fixed a number of bugs from the last version by ohrn.

This version was tested with my H100 and H300 LCD remotes, so it should work correctly for them. I don't have access to an H300 non-LCD remote, so I don't know whether it works (I doubt it).

Please let me know whether this version's button mapping is satisfactory!

Ioannis Koutoulakis commented on 2006-06-21 13:32

smably: Great work!!! I tested your patch and it works like a charm! I couldn't reproduce any of the problems I had before with my H300 LCD remote. I don't have an H100 LCD remote to test though.

Now, about the non-LCD remote, everything works fine in WPS (all buttons do what they are supposed to do), pressing Play in File browser launches a file (as it should), ffwd and rewind do nothing in File Browser (BUT I think that they are supposed to do nothing so I don't see a problem here either). They only problem I found (tested with your patch but probably this is in the CVS as well) is that when you try to start the player with the non-LCD remote (by pressing Play) you get the "Hold switch on, Power off" message no matter if you have hold or not in the remote, so you are not able to start the player.

Since you don't have a non-LCD remote, I don't know if it's possible to fix that, but i imagine that this is something that could be easily fixed. I think we are close to full remote support (haven't tested the H100 LCD remote only). Someone with CVS access should check this patch.

Again smably, great work, thanks

Ioannis Koutoulakis commented on 2006-06-21 15:06

Just want to add that the problem with starting the player with the non-LCD remote is a bootloader issue after all, and it's no wise to mess with that. Though, navigation in Browser/Menu with left/right using the non-LCD remote, works in CVS and this should get fixed with the patch, too

Sylvan Mably commented on 2006-06-22 03:24

Attached is version 4.0 of the remote patch. Not a whole lot has changed in terms of functionality, but I've cleaned up the code a lot since 3.0. It's still a bit ugly, but much less so than before.

I've included limited support for the H300 non-LCD remote (REW/FF now scroll in the menu and filetree), but with this version's code changes it's very easy to change the button mapping. Perhaps owners of the non-LCD remote could get together and decide how they'd like the buttons to behave in each context. Something like Genre9mp3's description above would be particularly useful since I don't have a remote to test on.

Again, please let me know how this patch works.

Norbert Preining commented on 2006-06-22 11:22

included in my build of h300 experimental, works nice on a non-lcd-remote. Thanks a lot!

David Lee commented on 2006-06-22 19:28

Relating to the non-LCD remote:

A long press on play currently does nothing. Would it be possible to get it to switch off the player?

Also whilst in the browser, the volume buttons currently do nothing. Would it be possible to use these to go up and down in the browser and the ff/rw buttons to enter/go back?

Thanks

Sylvan Mably commented on 2006-06-23 06:11

New version. Remote buttons should work when browsing the playlist; I've also added very experimental support for shutting down when PLAY is held on the non-LCD remote. Please let me know whether non-LCD remote shutdown works. There's a new version in the works with a few more features, which I'll hopefully finish in the next couple of days.

In the meantime, bug reports/feature requests are very much welcome. :)

David Lee commented on 2006-06-24 02:00

Shutting down when PLAY is held on the non-LCD remote doesn't work for me. Also with the lastest version only the PLAY button functions in the browser, the other buttons do nothing. Would it be possible to implement the other features in my last post? Thanks.

Martin Scarratt commented on 2006-07-28 12:12

A new way of doing things. Until the big button rework gets through…

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing