Commit History

Author SHA1 Message Date
  Sam Lantinga 27f2df2292 Check for NULL before dereferencing newly allocated memory 2 years ago
  Mathieu Eyraud f348370e1b Fix out of bound read of 'has_hat' array 2 years ago
  Sam Lantinga 4b1dd54a56 Fixed mapping BTN_TR2 to right trigger 2 years ago
  Sam Lantinga 3f6c4ec6d0 Cleanup for previous change, fixing typos, etc. 2 years ago
  Sam Lantinga fc72f12e7f Added automatic mapping support for Xbox controllers on the 6.x Linux kernels 2 years ago
  Ozkan Sezer 681f67d353 fixed build after commit d2372c853843def01b7adb9872cbb89b0d6079ec. 2 years ago
  Sam Lantinga d2372c8538 Added automatic mapping for Xbox Elite paddles using the xpadneo driver 2 years ago
  Sam Lantinga 7db23f4ef1 Fixed joystick vendor detection in Linux automatic gamepad mapping 2 years ago
  Simon McVittie 36ff6327b0 linux: Improve gamepad mapping heuristic to accept Android conventions 2 years ago
  Simon McVittie 26a38a0b20 linux: Reduce magic numbers when mapping gamepad axes 2 years ago
  Anonymous Maarten 1402d13556 video/blit: fix -Wimplicit-fallthrough warnings 3 years ago
  Sam Lantinga 0d76380042 Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 3 years ago
  Sam Lantinga 0479df53ca Updated copyright for 2023 3 years ago
  Sam Lantinga d59caffe2c Added support for clang thread-safety analysis 3 years ago
  Pierre Wendling d0bbfdbfb8 Clang-Tidy fixes (#6725) 3 years ago
  Sam Lantinga b8d85c6939 Update for SDL3 coding style (#6717) 3 years ago
  Sylvain Becker fb0ce375f0 Cleanup add brace (#6545) 3 years ago
  Sam Lantinga c70e675900 Wait a bit for devices to initialize before trying to enumerate and open them. 3 years ago
  Ludovico de Nittis e8cb4da71f Add utility function to detect if SDL is inside a sandbox 3 years ago
  Sam Lantinga bac8df4abd Fixed memory leak when out of memory 3 years ago
  Sam Lantinga ffbad3617c Use the correct type for the device_instance 3 years ago
  Sam Lantinga 277b033e78 Refactor joystick GUID creation 3 years ago
  Sam Lantinga c1e0873940 Added the CRC of the joystick name to the GUID 3 years ago
  Sam Lantinga f7b774a7e0 Fixed build error on Linux if HAVE_INOTIFY isn't defined 3 years ago
  atfrase db9e14e504 disabled linux joystick debugging outputs and reverted unnecessary comment edit 4 years ago
  atfrase f7a19f9ea8 relaxed the digital hat deadzone slightly, and fixed typo in DEBUG_GAMEPAD_MAPPING define 4 years ago
  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 years ago
  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 years ago
  Sam Lantinga e551384a99 Added functions to get the platform dependent name for a joystick or game controller 3 years ago
  Sam Lantinga 57927a2458 Don't call scandir() inside of scandir() 4 years ago