Sam Lantinga
|
decbbb0499
Updated API for SDL_JoystickID sign change
|
2 anni fa |
Sam Lantinga
|
fde78d12f2
Updated copyright for 2023
|
2 anni fa |
Sam Lantinga
|
36d4395c97
SDL API renaming: internal functions
|
2 anni fa |
Sam Lantinga
|
fc478c1bc0
SDL API renaming: SDL_joystick.h
|
2 anni fa |
Sam Lantinga
|
63724c113b
Removed the vi format comments from the source
|
2 anni fa |
Sam Lantinga
|
5c29b58e95
Added support for clang thread-safety analysis
|
2 anni fa |
Sam Lantinga
|
fcafe40948
Removed balls from the joystick API
|
2 anni fa |
Sam Lantinga
|
73f4aeee6a
Pass the event timestamp for joystick events
|
2 anni fa |
Sam Lantinga
|
8121bbd083
Convert ticks to 64-bit, added nanosecond precision to the API
|
2 anni fa |
Pierre Wendling
|
3c501b963d
Clang-Tidy fixes (#6725)
|
2 anni fa |
Sam Lantinga
|
5750bcb174
Update for SDL3 coding style (#6717)
|
2 anni fa |
Sam Lantinga
|
c5790359fd
Added precompiled header support for Visual Studio and Xcode (#6710)
|
2 anni fa |
Sylvain Becker
|
6a2200823c
Cleanup add brace (#6545)
|
2 anni fa |
Sam Lantinga
|
0a48abc860
Switch header convention from `#include "SDL.h"` to `#include <SDL3/SDLh>`
|
2 anni fa |
Sam Lantinga
|
c70e675900
Wait a bit for devices to initialize before trying to enumerate and open them.
|
2 anni fa |
Ludovico de Nittis
|
e8cb4da71f
Add utility function to detect if SDL is inside a sandbox
|
3 anni fa |
Sam Lantinga
|
bac8df4abd
Fixed memory leak when out of memory
|
3 anni fa |
Sam Lantinga
|
ffbad3617c
Use the correct type for the device_instance
|
3 anni fa |
Sam Lantinga
|
277b033e78
Refactor joystick GUID creation
|
3 anni fa |
Sam Lantinga
|
c1e0873940
Added the CRC of the joystick name to the GUID
|
3 anni fa |
Sam Lantinga
|
f7b774a7e0
Fixed build error on Linux if HAVE_INOTIFY isn't defined
|
3 anni fa |
atfrase
|
db9e14e504
disabled linux joystick debugging outputs and reverted unnecessary comment edit
|
3 anni fa |
atfrase
|
f7a19f9ea8
relaxed the digital hat deadzone slightly, and fixed typo in DEBUG_GAMEPAD_MAPPING define
|
3 anni fa |
atfrase
|
3696e23d09
added hints SDL_HINT_LINUX_DIGITAL_HATS and SDL_HINT_LINUX_HAT_DEADZONES to control the new Linux hat handling; added define DEBUG_GAMEPAD_MAPPINGS to log messages when generating default gamepad mapings for Linux joysticks
|
3 anni fa |
atfrase
|
0b8e796e2c
added hueristic to differentiate digital vs analog 'hat' input axes and expose the latter as regular axes; added automatic deadzones to hat outputs, in case analog axes are still mapped to digital hats; updated automatic gamepad control mapping to more completely follow the spec
|
3 anni fa |
Sam Lantinga
|
e551384a99
Added functions to get the platform dependent name for a joystick or game controller
|
3 anni fa |
Sam Lantinga
|
57927a2458
Don't call scandir() inside of scandir()
|
3 anni fa |
Mathieu Eyraud
|
99ae6395b1
Initialise scandir argument
|
3 anni fa |
Sam Lantinga
|
7ea1b69dd4
Sort controllers by the js* index on Linux
|
3 anni fa |
Sam Lantinga
|
eb660e862c
Cache the fact that a device didn't look like a joystick
|
3 anni fa |