Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input: xpad - fix GPD Win 2 controller name
This fixes using the controller with SDL2. SDL2 has a naive algorithm to apply the correct settings to a controller. For X-Box compatible controllers it expects that the controller name contains a variation of a 'XBOX'-string. This patch changes the identifier to contain "X-Box" as substring. Tested with Steam and C-Dogs-SDL which both detect the controller properly after adding this patch. Fixes: c1ba083 ("Input: xpad - add GPD Win 2 Controller USB IDs") Cc: [email protected] Signed-off-by: Enno Boland <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
- Loading branch information