Rockbox Ports are now being developed for various digital audio players!
Hello, I am new here, and just got an iAudio X5 last week. I loaded up rockbox and noticed that my joystick was sometimes quite twitchy. For example, if i clicked left it would often register a left button, then on release would fire off a short right button. Also, it was sometimes picking up buttons i never touched, like Record, while moving the joystick.As i'm a programmer, i took a look through the rockbox source and noticed that when the firmware polls for a button, it makes sure the button state it just read from the hardware is the same as the last time it read the state (during the previous tick). This is equivalent to 'rockbox only registers a button state as valid if it reads the same state two times in a row'.I extended this to 'rockbox only registers a button state as valid if it reads the same state four times in a row' and it (so far) has vastly improved my situation. Of course, there is about 2ms more lag on the button presses, but it's helped stop the phantom button presses.I believe this is what debouncing is, although I personally call it filtering. If my joystick fails more I might have to add either more filtering or something more drastic.On a related note, I'm quite disappointed in the X5's joystick, as my player is brand new. Rockbox shows the problems much more than the original firmware does.So, to answer your question... it might be able to be rectified via firmware. My problem sounds similar.
5 Mar 20:14Jens ArnoldAdd extra filtering to the X5 and M5 button drivers to prevent erratic button events (ported from H300).
Page created in 0.117 seconds with 15 queries.