Sam Lantinga
|
345c161feb
Fixed some accidental uses of external C runtime functions
|
4 years ago |
Sam Lantinga
|
503ea8e89f
Don't modify the Nintendo Switch home LED state by default
|
4 years ago |
Sam Lantinga
|
9fdb06450d
Added support for the Joy-Con Charging Grip when SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS is enabled
|
4 years ago |
Sam Lantinga
|
b3a0174b26
Scale the values correctly based on the sensor type (thanks @meyraud705)
|
4 years ago |
Sam Lantinga
|
a186a503e7
Added SDL_GameControllerGetSensorDataRate() to get the sensor update rate for a controller.
|
4 years ago |
Sam Lantinga
|
8d527def81
Revert "hidapi_switch: Implement HD rumble effect (#4538)"
|
4 years ago |
Narr the Reg
|
19082b115b
hidapi_switch: Implement HD rumble effect (#4538)
|
4 years ago |
Sam Lantinga
|
3c9559f765
Don't try to rumble third-party Nintendo Switch Pro controllers
|
4 years ago |
german77
|
e6e8fe6d4e
hidapi_switch: Implement analog rumble
|
4 years ago |
Sam Lantinga
|
d135c0762f
Added SDL_GameControllerSendEffect() and SDL_JoystickSendEffect() to allow applications to send custom effects to the PS4 and PS5 controllers
|
4 years ago |
Sam Lantinga
|
3fcaf5b4b3
Fixed incorrect axis scaling for Nintendo Switch controllers
|
4 years ago |
JibbSmart
|
c287087fcc
Only change joystick->nbuttons for Joy-Cons, since they're the only ones that have these "paddles"
|
5 years ago |
JibbSmart
|
ee52624f95
Switch Joy-Con SL and SR buttons are now mapped to matching paddle positions so that all buttons can be accessed when using SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS
|
5 years ago |
Sam Lantinga
|
ac72a2ba8e
Fixed bug 5493 - Hint to let the user opt out of having Switch controllers' Home button lit when opened
|
5 years ago |
Sam Lantinga
|
c857b5e0c9
Minor cleanup
|
5 years ago |
JibbSmart
|
0f57864c9e
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.
|
5 years ago |
Ozkan Sezer
|
bdb3e6b84f
SDL_hidapi_switch.c: fix build with older compilers
|
5 years ago |
Sam Lantinga
|
e3dbae5010
Get the serial number for the Nintendo Switch Pro controller
|
5 years ago |
Sam Lantinga
|
5fc743c4fd
Phantom Nintendo Switch Pro Controller initialization problem
|
5 years ago |
Sam Lantinga
|
92742306a6
Fixed rumble reset failing for Switch Pro controllers in USB mode
|
5 years ago |
Sam Lantinga
|
e2f46ed8ef
Always lock the HIDAPI device when closing, in case rumble is pending
|
5 years ago |
JibbSmart
|
e9887045a2
Gyro and Accel sensor support for Switch Pro Controller.
|
5 years ago |
Sam Lantinga
|
9130f7c377
Updated copyright for 2021
|
5 years ago |
Sam Lantinga
|
5b3616c325
Generalized the raw input controller driver and moved XInput/WGI detection into it for XInput devices
|
5 years ago |
Sam Lantinga
|
fcb21aa883
Added API for sensors on game controllers
|
5 years ago |
Sam Lantinga
|
1e2caac58b
Added SDL_JoystickRumbleTriggers() and SDL_GameControllerRumbleTriggers()
|
5 years ago |
Sam Lantinga
|
d1e10c313e
Removed debug output
|
5 years ago |
Sam Lantinga
|
009b62f1c2
Be explicit about mapping the new game controller paddle buttons
|
5 years ago |
Sam Lantinga
|
3a3aaac221
Added 4 auxiliary buttons to the game controller API
|
5 years ago |
Sam Lantinga
|
e555d45331
Added SDL_JoystickHasLED
|
5 years ago |