Pierre Wendling
|
d0bbfdbfb8
Clang-Tidy fixes (#6725)
|
пре 3 година |
Sam Lantinga
|
b8d85c6939
Update for SDL3 coding style (#6717)
|
пре 3 година |
Sylvain Becker
|
fb0ce375f0
Cleanup add brace (#6545)
|
пре 3 година |
Sam Lantinga
|
c70e675900
Wait a bit for devices to initialize before trying to enumerate and open them.
|
пре 3 година |
Ludovico de Nittis
|
e8cb4da71f
Add utility function to detect if SDL is inside a sandbox
|
пре 3 година |
Sam Lantinga
|
bac8df4abd
Fixed memory leak when out of memory
|
пре 3 година |
Sam Lantinga
|
ffbad3617c
Use the correct type for the device_instance
|
пре 3 година |
Sam Lantinga
|
277b033e78
Refactor joystick GUID creation
|
пре 3 година |
Sam Lantinga
|
c1e0873940
Added the CRC of the joystick name to the GUID
|
пре 3 година |
Sam Lantinga
|
f7b774a7e0
Fixed build error on Linux if HAVE_INOTIFY isn't defined
|
пре 3 година |
atfrase
|
db9e14e504
disabled linux joystick debugging outputs and reverted unnecessary comment edit
|
пре 4 година |
atfrase
|
f7a19f9ea8
relaxed the digital hat deadzone slightly, and fixed typo in DEBUG_GAMEPAD_MAPPING define
|
пре 4 година |
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
|
пре 4 година |
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
|
пре 4 година |
Sam Lantinga
|
e551384a99
Added functions to get the platform dependent name for a joystick or game controller
|
пре 4 година |
Sam Lantinga
|
57927a2458
Don't call scandir() inside of scandir()
|
пре 4 година |
Mathieu Eyraud
|
99ae6395b1
Initialise scandir argument
|
пре 4 година |
Sam Lantinga
|
7ea1b69dd4
Sort controllers by the js* index on Linux
|
пре 4 година |
Sam Lantinga
|
eb660e862c
Cache the fact that a device didn't look like a joystick
|
пре 4 година |
Sam Lantinga
|
120c76c84b
Updated copyright for 2022
|
пре 4 година |
Sam Lantinga
|
40d808620d
SDL_classic_joysticks defaults off
|
пре 4 година |
Cameron Gutman
|
afccabb881
joystick: Add capability flags for rumble and trigger rumble
|
пре 4 година |
Cameron Gutman
|
1ccfbf963e
joystick: Convert HasLED() into a generic GetCapabilities() function
|
пре 4 година |
Sam Lantinga
|
ebed961cb2
Fixed build with older Linux kernel headers
|
пре 4 година |
Sam Lantinga
|
828a0a4a10
Fixed mapping for PS4 controller when using the classic Joystick
|
пре 4 година |
Sam Lantinga
|
dc9de1e2bd
Get the correct USB VID/PID information for /dev/input/js* devices
|
пре 4 година |
Sam Lantinga
|
bd92a95f22
Cleanup for the /dev/js* support (thanks @meyraud705)
|
пре 4 година |
Sam Lantinga
|
1c78b08007
Added support for /dev/input/js* on Linux
|
пре 4 година |
Sam Lantinga
|
65a50b2430
Re-enable udev joystick enumeration by default
|
пре 4 година |
Sam Lantinga
|
b8c00bf914
Allow opening joysticks that are read-only on Linux
|
пре 4 година |