• Rémi Bernon's avatar
    hidclass.sys: Use __wine_send_input to send device notifications. · c0fc8999
    Rémi Bernon authored
    When INPUT type is INPUT_HARDWARE and hi.uMsg is WM_INPUT_DEVICE_CHANGE,
    the RAWINPUT structure usage is a non-standard extension for Wine
    internal usage:
    
    * header.wParam contains the message GIDC_ARRIVAL / GIDC_REMOVAL wparam,
    
    * hid.bRawData contains two words, which are the HID device UsagePage
      and Usage words, instead of a real HID report.
    
    This will let us use the same entry point and structures to send device
    notifications as for the HID reports in the future (which will be sent
    with INPUT_HARDWARE type / WM_INPUT uMsg instead).
    
    This currently does nothing, because the INPUT_HARDWARE messages are
    currently dropped, and because winedevice.exe desktop is different from
    the default desktop.
    
    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50506Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    c0fc8999
Name
Last commit
Last update
..
Makefile.in Loading commit data...
buffer.c Loading commit data...
descriptor.c Loading commit data...
device.c Loading commit data...
hid.h Loading commit data...
hidclass.sys.spec Loading commit data...
pnp.c Loading commit data...