[PATCH] dinput: Introduce new HID joystick backend.

Rémi Bernon rbernon at codeweavers.com
Tue Jun 29 05:46:01 CDT 2021


On 6/29/21 12:37 PM, Rémi Bernon wrote:
> This adds a new joystick backend, implemented on top of HID and without
> any host dependencies. This will be progressively implementated, and
> it's not going to be usable until at least a few more patches.
> 
> Because of that, and because it may also introduce regressions compared
> to the existing backends, it is possible to disable it entirely using
> the following global registry key:
> 
>    [HKCU\\Software\\Wine\\DirectInput\\Joysticks]
>    "HID"="disabled"
> 
> Or using the corresponding AppDefaults registry key:
> 
>    [HKCU\\Software\\Wine\\AppDefaults\\<app.exe>\\DirectInput\\Joysticks]
>    "HID"="disabled"
> 
> Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
> ---

I'm not completely sure what's best here, so I kept it enabled by 
default and optionally disabled. Otherwise I'm afraid it's unlikely the 
backend will be used at all, and that bugs may only be discovered late.

But maybe it's better to disable it for now and only enable it by 
default once it gets actually a bit usable, which should not take too 
many patches, if we ignore force feedback support.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list