Support and General Use > Hardware
iAudio X5: Joystick Behaving Weird
(1/1)
wswartzendruber:
Every so often when clicking the joystick to the right it will behave as if I pressed it. I have experienced this with the factory firmware.
xlarge:
If you are experiencing this in rockbox AND original firmware it's a hardware issue.
Nothing to do with rockbox.
DO1FJN:
Hello to all rockbox developer! Great work.
I have the decribed problems too. Often the stick 'swinging' to the opposite side. This behavior I can determine only with rockbox. In the most cases I use the remote control: the stick is'nt used often.
My suggestion:
- debouncing the 'active' edge of every signal line (I think it was so)
- blocking all other directions + click-key while holding the stick in one direction.
- after release: wait a blocking time and accept another 'key-action' after this period
- maybe the blocking time must be really long (~50ms).
- a 'direction signal' must have higher priority as the click-key: Avoids unwanted key-presses while moving the stick.
- blocking (other dsignals) begins earlier (no wait for debounce)
The keys on the remote-control works fine (no such problems)...
I hope somebody contiune developing the X5 build... If I have more time, I want to developing on my X5 too.
Kind regards,
Jan, DO1FJN
LinusN:
--- Quote from: DO1FJN on February 07, 2007, 01:20:16 AM ---- debouncing the 'active' edge of every signal line (I think it was so)
- blocking all other directions + click-key while holding the stick in one direction.
--- End quote ---
The joystick is connected to the CPU via a resistor ladder. Each direction gives a different voltage, measured using the A/D converter. Therefore it is not possible to block other directions. However, we could use a kind of debouncing by requiring more stable voltage measurements.
--- Quote ---- after release: wait a blocking time and accept another 'key-action' after this period
- maybe the blocking time must be really long (~50ms).
--- End quote ---
That might make the UI feel sluggish.
--- Quote ---- a 'direction signal' must have higher priority as the click-key: Avoids unwanted key-presses while moving the stick.
--- End quote ---
Funny, I have the opposite problem with my X5, I accidentally move the stick when I want to push the button.
Navigation
[0] Message Index
Go to full version