Sam Lantinga
|
66ecdc69ac
Don't update the report mode until the related hint is set
|
1 year ago |
Sam Lantinga
|
34c3734953
Fixed opening one Joy-Con when the other is visible but disconnected
|
1 year ago |
nightmareci
|
718034f5fa
Remove newlines from log messages
|
1 year ago |
Sam Lantinga
|
21cc1878f1
Reset enhanced mode state when closing a controller
|
1 year ago |
Sam Lantinga
|
2c0a8363a5
Added SDL_HINT_JOYSTICK_ENHANCED_REPORTS
|
1 year ago |
Sam Lantinga
|
f2074d7af3
Updated copyright for 2025
|
1 year ago |
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 |