sdl2_frt/src/joystick
Sam Lantinga ac72a2ba8e Fixed bug 5493 - Hint to let the user opt out of having Switch controllers' Home button lit when opened
jibb

New hint to let the user opt out of having Switch controllers' Home button lit when opened.

This is more consistent with the Switch itself (which doesn't light the button normally) and may be preferred by users who may disconnect their controller without letting the application close it.

I think this warrants a Switch-specific hint because the default behaviour is unusual (inconsistent with using a Switch controller on a Switch itself or with some other programs on PC), and because of that it's distinct from other lights (the player number on Switch controllers and the player colour on PlayStation controllers).
2021-02-10 10:22:16 -05:00
..
android Updated copyright for 2021 2021-01-02 10:25:38 -08:00
bsd renamed SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H to SDL_HAVE_MACHINE_JOYSTICK_H 2021-01-24 00:51:25 -05:00
darwin Fixed bug 5195 - Replugging in "mixed" controller types crashes on macOS 2021-01-14 15:03:11 -08:00
dummy Updated copyright for 2021 2021-01-02 10:25:38 -08:00
emscripten Updated copyright for 2021 2021-01-02 10:25:38 -08:00
haiku Updated copyright for 2021 2021-01-02 10:25:38 -08:00
hidapi Fixed bug 5493 - Hint to let the user opt out of having Switch controllers' Home button lit when opened 2021-02-10 10:22:16 -05:00
iphoneos Updated copyright for 2021 2021-01-02 10:25:38 -08:00
linux Updated copyright for 2021 2021-01-02 10:25:38 -08:00
os2 old os2 analogue joystick code ported from SDL-1.2. disabled by default, 2021-01-24 00:51:25 -05:00
psp move outdated winmm and psp joystick codes to struct _SDL_JoystickDriver 2021-01-24 00:51:25 -05:00
steam Updated copyright for 2021 2021-01-02 10:25:38 -08:00
virtual SDL_virtualjoystick.c: remove wrong #endif comment. 2021-01-24 00:51:24 -05:00
windows move outdated winmm and psp joystick codes to struct _SDL_JoystickDriver 2021-01-24 00:51:25 -05:00
check_8bitdo.sh Fixed running on older versions of iOS 2020-04-27 13:31:10 -07:00
controller_type.h Hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS added so we can recognise a Joy-Con as half a Pro Controller, so we can read its analog input and read its sensors just like we do a Pro Controller. 2021-01-24 00:51:25 -05:00
SDL_gamecontroller.c Fixed bug 5466 - Add haptic support for Stadia Controller 2021-01-24 00:51:26 -05:00
SDL_gamecontrollerdb.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_joystick_c.h Hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS added so we can recognise a Joy-Con as half a Pro Controller, so we can read its analog input and read its sensors just like we do a Pro Controller. 2021-01-24 00:51:25 -05:00
SDL_joystick.c Hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS added so we can recognise a Joy-Con as half a Pro Controller, so we can read its analog input and read its sensors just like we do a Pro Controller. 2021-01-24 00:51:25 -05:00
SDL_sysjoystick.h move outdated winmm and psp joystick codes to struct _SDL_JoystickDriver 2021-01-24 00:51:25 -05:00
sort_controllers.py Added support for SDL hints in the game controller mapping database 2020-03-12 19:47:28 -07:00
usb_ids.h Fixed bug 5466 - Add haptic support for Stadia Controller 2021-01-24 00:51:26 -05:00