Sweden-Number/dlls/winebus.sys
Rémi Bernon baa417a371 winebus.sys: Fix HID haptics waveform NONE / STOP ordinals.
There's some inconsistencies between the HID 1.22 specification and
HID usage names in Windows SDK headers. The headers use STOP for the
0x1001 usage name, and NULL for 0x1002, where the HID spec uses None for
the 0x1001 usage name and Stop for 0x1002.

Both are implicit waveforms anyway, and the HID usages aren't really
used anywhere, but their ordinal matters. The HID spec says that None
has ordinal 1, and Stop ordinal 2, and that Stop waveform can be used
to stop any previously started waveform. We are going to stick to that
and ignore the HID usages, although the names won't match the usages.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 21:20:42 +01:00
..
Makefile.in
bus_iohid.c
bus_sdl.c winebus.sys: Stop haptics effects using the right function. 2022-02-14 21:20:42 +01:00
bus_udev.c
hid.c winebus.sys: Fix HID haptics waveform NONE / STOP ordinals. 2022-02-14 21:20:42 +01:00
main.c
pop_hid_macros.h
psh_hid_macros.h
unix_private.h winebus.sys: Fix HID haptics waveform NONE / STOP ordinals. 2022-02-14 21:20:42 +01:00
unixlib.c
unixlib.h
winebus.inf
winebus.rc
winebus.sys.spec