[Bug 50510] New: user32-rawinput-hid patches sending bogus HID data

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jan 16 11:26:39 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50510

            Bug ID: 50510
           Summary: user32-rawinput-hid patches sending bogus HID data
           Product: Wine-staging
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: lunarlambda at gmail.com
                CC: leslie_alistair at hotmail.com, z.figura12 at gmail.com
      Distribution: ---

I'm using RawInput and HidP APIs to parse joystick input. My controller has 6
axis and 14 buttons, and shows up fine in `wine control joy.cpl.`

However, the data I get from HidP_GetCaps and HidP_GetUsages /
HidP_GetUsageValue seems to be nonsense, as it's telling me my controller has
only 11 buttons, and also my window is being completely spammed with WM_INPUT
messages, with HidP_GetUsages returning usages like 191 or 551, and
HidP_GetUsageValue returning seemingly random values too, even when the
controller is *completely* still.

I tried using the test apps listed on the wiki but they don't seem to be of
much use (one of them crashes because of unimplemented _vcswprintf or
something)

I'm afraid that's all the info I can provide without further instructions. I am
confident I am using the HID APIs correctly.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list