We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1075 - Fake gamepad axis events while event device readable.
Summary: Fake gamepad axis events while event device readable.
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 1.2.14
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 07:16 UTC by Sir Anthony
Modified: 2013-10-18 06:24 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sir Anthony 2010-11-08 07:16:36 UTC
Hello. I'm trying to write small sdl app that uses gamepad and ran into a problem.
I'm using standard loop(in attachment), but when joystick event device(as /dev/input/event5) is readable for my user(I need it for force feedback), loop always catches events from joystick from axis 0 with value like 127. I add a minimum value test with value 1000, axis 0 works correctly after it but I cannot use axis 1 because no events generated by sdl. When I disable read access to device all works normal. At first I thought that the problem in the gamepad, but I tried another and got the same result.
My system is Slackware 13.1.
Comment 1 Jen Spradlin 2011-04-12 20:09:06 UTC
Thank you for your bug report!

We're busy working on getting SDL 1.3 ready for a high quality release, and want to make sure as many things are fixed there as possible.
Could you check to see if your bug is resolved by the latest SDL 1.3 snapshot?
http://www.libsdl.org/tmp/SDL-1.3.zip

Thanks!
Comment 2 Sam Lantinga 2013-10-18 06:24:19 UTC
No response in 3 years, closing bug.