From: Rémi Bernon rbernon@codeweavers.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57601 --- dlls/winebus.sys/main.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/dlls/winebus.sys/main.c b/dlls/winebus.sys/main.c index f0003d0774d..82bc8667bde 100644 --- a/dlls/winebus.sys/main.c +++ b/dlls/winebus.sys/main.c @@ -427,6 +427,12 @@ static BOOL is_hidraw_enabled(WORD vid, WORD pid, const USAGE_AND_PAGE *usages, DWORD size;
if (check_bus_option(L"DisableHidraw", FALSE)) return FALSE; + + if (usages->UsagePage == HID_USAGE_PAGE_DIGITIZER) + { + WARN("Ignoring unsupported %04X:%04X hidraw touchscreen\n", vid, pid); + return FALSE; + } if (usages->UsagePage != HID_USAGE_PAGE_GENERIC) return TRUE; if (usages->Usage != HID_USAGE_GENERIC_GAMEPAD && usages->Usage != HID_USAGE_GENERIC_JOYSTICK) return TRUE;