libx52 icon indicating copy to clipboard operation
libx52 copied to clipboard

x52d: a single scroll event may result in multiple REL_WHEEL reports

Open nirenjan opened this issue 2 years ago • 3 comments

Observed behavior With some hardware, the joystick may report multiple events with the wheel button selected. As a result, x52d receives multiple events where the scroll button is on, but with different values in the axis reports. The following log reported by @VorpalBlade in #45 has some sample events: scrolling.log.

x52d currently only looks at the current state of the scroll buttons, therefore, faulty hardware could result in several virtual wheel events sent to the uinput node for a single scroll event on the joystick wheel.

Expected behavior Each scroll event from the joystick should result in only 1 scroll event on the virtual mouse.

nirenjan avatar Jun 14 '22 16:06 nirenjan

This issue has been automatically marked as stale because it has not had recent activity in the past 6 months. It will be closed within 2 weeks if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 16 '22 04:12 stale[bot]

As far as I know this issue persists. I haven't used my x52 since then (I have not had any time for flight sims in recent months). As such I don't remember, did you need anything further from me?

VorpalBlade avatar Dec 16 '22 10:12 VorpalBlade

@VorpalBlade , can you give the changes in the fix-multiple-scroll-events branch a try? I'm hoping that this should fix the issue you were seeing.

nirenjan avatar Mar 18 '23 07:03 nirenjan