mirror of https://github.com/libsdl-org/SDL.git
Don't treat the Keychron K1 Pro System Control keyboard as a joystick
Fixes https://github.com/libsdl-org/SDL/issues/12758
This commit is contained in:
parent
ab57ef9d7b
commit
d29bb902f3
|
|
@ -443,6 +443,7 @@ static Uint32 initial_blacklist_devices[] = {
|
||||||
MAKE_VIDPID(0x1532, 0x0282), // Razer Huntsman Mini Analog, non-functional DInput device
|
MAKE_VIDPID(0x1532, 0x0282), // Razer Huntsman Mini Analog, non-functional DInput device
|
||||||
MAKE_VIDPID(0x26ce, 0x01a2), // ASRock LED Controller
|
MAKE_VIDPID(0x26ce, 0x01a2), // ASRock LED Controller
|
||||||
MAKE_VIDPID(0x20d6, 0x0002), // PowerA Enhanced Wireless Controller for Nintendo Switch (charging port only)
|
MAKE_VIDPID(0x20d6, 0x0002), // PowerA Enhanced Wireless Controller for Nintendo Switch (charging port only)
|
||||||
|
MAKE_VIDPID(0x3434, 0x0211), // Keychron K1 Pro System Control
|
||||||
};
|
};
|
||||||
static SDL_vidpid_list blacklist_devices = {
|
static SDL_vidpid_list blacklist_devices = {
|
||||||
SDL_HINT_JOYSTICK_BLACKLIST_DEVICES, 0, 0, NULL,
|
SDL_HINT_JOYSTICK_BLACKLIST_DEVICES, 0, 0, NULL,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue