meyraud705
|
0964c84d77
Always use SDL_PrivateJoystickBatteryLevel to update battery level
|
4 vuotta sitten |
pionere
|
60deadba59
re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory
|
4 vuotta sitten |
Sam Lantinga
|
120c76c84b
Updated copyright for 2022
|
4 vuotta sitten |
Sam Lantinga
|
66058bbbd5
Fixed exception accessing Bluetooth devices on Android 12
|
4 vuotta sitten |
Ozkan Sezer
|
a2c27d39cf
SDL_hidapi_switch.c (ConstructSubcommand): lose use of '&' on rumbleData
|
4 vuotta sitten |
Cameron Gutman
|
afccabb881
joystick: Add capability flags for rumble and trigger rumble
|
4 vuotta sitten |
Cameron Gutman
|
1ccfbf963e
joystick: Convert HasLED() into a generic GetCapabilities() function
|
4 vuotta sitten |
Sam Lantinga
|
5b646cd19e
Build hidapi code into SDL as a new public API
|
4 vuotta sitten |
Sam Lantinga
|
fe2fe29049
Backed out accidentally committed PR https://github.com/libsdl-org/SDL/pull/4849
|
4 vuotta sitten |
Sam Lantinga
|
86bc65a741
Fixed non-Apple builds
|
4 vuotta sitten |
Sam Lantinga
|
345c161feb
Fixed some accidental uses of external C runtime functions
|
4 vuotta sitten |
Sam Lantinga
|
503ea8e89f
Don't modify the Nintendo Switch home LED state by default
|
4 vuotta sitten |
Sam Lantinga
|
9fdb06450d
Added support for the Joy-Con Charging Grip when SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS is enabled
|
4 vuotta sitten |
Sam Lantinga
|
b3a0174b26
Scale the values correctly based on the sensor type (thanks @meyraud705)
|
4 vuotta sitten |
Sam Lantinga
|
a186a503e7
Added SDL_GameControllerGetSensorDataRate() to get the sensor update rate for a controller.
|
4 vuotta sitten |
Sam Lantinga
|
8d527def81
Revert "hidapi_switch: Implement HD rumble effect (#4538)"
|
4 vuotta sitten |
Narr the Reg
|
19082b115b
hidapi_switch: Implement HD rumble effect (#4538)
|
4 vuotta sitten |
Sam Lantinga
|
3c9559f765
Don't try to rumble third-party Nintendo Switch Pro controllers
|
4 vuotta sitten |
german77
|
e6e8fe6d4e
hidapi_switch: Implement analog rumble
|
4 vuotta sitten |
Sam Lantinga
|
d135c0762f
Added SDL_GameControllerSendEffect() and SDL_JoystickSendEffect() to allow applications to send custom effects to the PS4 and PS5 controllers
|
4 vuotta sitten |
Sam Lantinga
|
3fcaf5b4b3
Fixed incorrect axis scaling for Nintendo Switch controllers
|
4 vuotta sitten |
JibbSmart
|
c287087fcc
Only change joystick->nbuttons for Joy-Cons, since they're the only ones that have these "paddles"
|
5 vuotta sitten |
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 vuotta sitten |
Sam Lantinga
|
ac72a2ba8e
Fixed bug 5493 - Hint to let the user opt out of having Switch controllers' Home button lit when opened
|
5 vuotta sitten |
Sam Lantinga
|
c857b5e0c9
Minor cleanup
|
5 vuotta sitten |
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 vuotta sitten |
Ozkan Sezer
|
bdb3e6b84f
SDL_hidapi_switch.c: fix build with older compilers
|
5 vuotta sitten |
Sam Lantinga
|
e3dbae5010
Get the serial number for the Nintendo Switch Pro controller
|
5 vuotta sitten |
Sam Lantinga
|
5fc743c4fd
Phantom Nintendo Switch Pro Controller initialization problem
|
5 vuotta sitten |
Sam Lantinga
|
92742306a6
Fixed rumble reset failing for Switch Pro controllers in USB mode
|
5 vuotta sitten |