[Bug 50506] New: Do not receive WM_INPUT messages for game controllers registered with RegisterRawInputDevices

WineHQ Bugzilla wine-bugs at winehq.org
Fri Jan 15 09:23:03 CST 2021


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

            Bug ID: 50506
           Summary: Do not receive WM_INPUT messages for game controllers
                    registered with RegisterRawInputDevices
           Product: Wine
           Version: 6.0
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: lunarlambda at gmail.com
      Distribution: ---

I am using RegisterRawInputDevices with HID_USAGE_PAGE_GENERIC, 
HID_USAGE_GENERIC_JOYSTICK, and HID_USAGE_GENERIC_GAMEPAD.

My controller (Nintendo Switch Pro Controller) shows up in joy.cpl, and input
works.

The controller shows up in GetRawInputDeviceList, I can query it with
GetRawInputDeviceInfo, and opening it and getting the product name via
HidD_GetProductString also works.

However, my window simply never receives any WM_INPUT messages.

If I register a keyboard instead (HID_USAGE_GENERIC_KEYBOARD), using the same
code, I do get WM_INPUT messages.

I was hopeful that this had been fixed in 6.0, but I was looking through
dlls/user32/rawinput.c, but I cannot find anything indicative of a lack of
support.

-- 
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