Not reading Joystick output at 125 Hz but 64 Hz

This is the English forum for all topics related to JoyWarrior. Please post in English only

Moderator: Guido Körber

Post Reply
ThomasLCQ
Posts: 5
Joined: Tue Apr 21, 2009 3:35 pm

Not reading Joystick output at 125 Hz but 64 Hz

Post by ThomasLCQ »

When reading the axis-data as if it was a simple Joystick I get a sample per 0.015 or 0.016 seconds ; this is wierd (~64Hz). Is it because I don't use the HID method?
ThomasLCQ
Posts: 5
Joined: Tue Apr 21, 2009 3:35 pm

Re: Not reading Joystick output at 125 Hz but 64 Hz

Post by ThomasLCQ »

Ok, I'll reply to myself :

The time resolution I had were due to limitations of the python "datetime" module. It blocks around 60Hz. Now, using the time.clock module, I can see finer resolution.
Post Reply