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
| |-+  Hardware
| | |-+  iAudio X5: Joystick Behaving Weird
« previous next »
  • Print
Pages: [1]

Author Topic: iAudio X5: Joystick Behaving Weird  (Read 2159 times)

Offline wswartzendruber

  • Member
  • *
  • Posts: 3
iAudio X5: Joystick Behaving Weird
« on: January 18, 2007, 09:20:45 PM »
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.
Logged

Offline xlarge

  • Member
  • *
  • Posts: 191
Re: iAudio X5: Joystick Behaving Weird
« Reply #1 on: January 19, 2007, 02:46:15 AM »
If you are experiencing this in rockbox AND original firmware it's a hardware issue.
Nothing to do with rockbox.
Logged

Offline DO1FJN

  • Member
  • *
  • Posts: 3
iAudio X5 joystick
« Reply #2 on: February 07, 2007, 01:20:16 AM »
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
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: iAudio X5 joystick
« Reply #3 on: February 07, 2007, 03:42:50 AM »
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.
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).
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.
Funny, I have the opposite problem with my X5, I accidentally move the stick when I want to push the button.

Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  iAudio X5: Joystick Behaving Weird
 

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

Page created in 0.083 seconds with 15 queries.