-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix infinite rumble. #36
base: master
Are you sure you want to change the base?
Conversation
That code was made to handle the case where EV_FF events with a duration of 0 would be handled as "always active". Can you log the events that are causing this to happen? I noticed #31 mentions GRID. It could be we're accidentally treating force-feedback events as rumble events, since looking again I don't think we actually check the UI_FF_UPLOAD event type. We report we only support FF_RUMBLE and FF_CONSTANT but it could be we need to handle those differently, or we're getting events we don't report as supported. |
Yes, I logged some of those events. I don't have Grid, but "I hate running backwards" is another game that cause the same issue.
From what I can see that's not the case. I don't know much about FF_RUMBLE and FF_CONSTANT, what's the difference? |
Can you try logging the event uploading parts, especially the values in the |
I don't understand this part of the code. But it seems to work fine with this fix. Fixes #31.