Sam Lantinga
|
9a4d29699d
Don't use connection state from the Nintendo Switch Pro report
|
1 year ago |
Sam Lantinga
|
8d223b3037
Renamed atomic functions to match SDL 3.0 naming convention
|
1 year ago |
Sam Lantinga
|
37c9fb490e
Changed enums to use XXX_COUNT for the count or number of values
|
1 year ago |
Sam Lantinga
|
6fc6e3dc7e
Use SDL_bool where appropriate in SDL events
|
1 year ago |
Sam Lantinga
|
f827c1322c
Renamed SDL_Del* to SDL_Remove*
|
1 year ago |
Sam Lantinga
|
9ff3446f03
Use SDL_bool instead an int return code in the SDL API
|
1 year ago |
Sam Lantinga
|
8f546bb3c9
Use C99 bool internally in SDL
|
1 year ago |
Sam Lantinga
|
6501e90018
Use C++ style comments consistently in SDL source code
|
1 year ago |
Sam Lantinga
|
d154b37b41
Renamed *FromInstanceID() to *FromID()
|
1 year ago |
Sam Lantinga
|
4ba2e9f4f4
Improved detection of Nintendo Switch Pro controller report mode
|
1 year ago |
Sam Lantinga
|
6e53a36414
Fixed Y + right shoulder button combination on third party Switch controllers
|
1 year ago |
Sam Lantinga
|
6821fb2fe4
Fixed the right trigger on the Nintendo SNES Controller in simple report mode
|
1 year ago |
Sam Lantinga
|
a3cc900157
Fixed Nintendo Switch triggers when in simple report mode
|
1 year ago |
Sam Lantinga
|
bf27269952
Re-enable full controller reports for Joy-Con controllers
|
1 year ago |
Sam Lantinga
|
6619de8f24
Try to guess the type of a Nintendo Switch controller if we can't read the device info
|
1 year ago |
Sam Lantinga
|
5ee9a840b1
Ignore spurious reply packets when reading Nintendo Switch controller reports
|
1 year ago |
Sam Lantinga
|
fcd2a3a6ad
Fixed mapping for Joy-Con controllers in simple report mode
|
1 year ago |
Sam Lantinga
|
a87fa020ac
Don't enable enhanced report mode for Bluetooth Nintendo Switch controllers by default
|
1 year ago |
Sam Lantinga
|
8847b35244
Separate joystick power state into battery status and percentage
|
2 years ago |
Sam Lantinga
|
f66fe7e221
Replaced SDL_GetJoystickCaps() with joystick properties
|
2 years ago |
Sam Lantinga
|
cd231a65f6
Added SDL_GetJoystickCaps() and SDL_GetGamepadCaps() to get the capabilities of controllers
|
2 years ago |
Sam Lantinga
|
5b3ee51c6c
Updated copyright for 2024
|
2 years ago |
Sam Lantinga
|
dce626f469
Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data
|
2 years ago |
Sam Lantinga
|
70ba3f2830
Report the D-Pad for HIDAPI gamepads as a hat
|
2 years ago |
Sam Lantinga
|
c3d84c3342
Record the initial input report mode and only restore simple mode if that's what we started with
|
2 years ago |
Ryan C. Gordon
|
447b508a77
error: SDL's allocators now call SDL_OutOfMemory on error.
|
2 years ago |
Sam Lantinga
|
09d1e9defb
Only update the battery status for Bluetooth Switch Pro controllers
|
2 years ago |
Sam Lantinga
|
d98e1bdfe1
Use the standard gamepad type for Switch Pro controllers using the GameCube form factor
|
2 years ago |
Sam Lantinga
|
2991b9f6ac
SDL now represents gamepad buttons as positional elements with a separate label
|
2 years ago |
Sylvain
|
d8600f717e
Pointer as bool (libsdl-org#7214)
|
2 years ago |