• 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
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...