Commit History

Author SHA1 Message Date
  Sam Lantinga d154b37b41 Renamed *FromInstanceID() to *FromID() 1 year ago
  Sam Lantinga e90060d07f Renamed functions to get information from device IDs 1 year ago
  Ryan C. Gordon e23257307e Introduce formal policy for APIs that return strings. 1 year ago
  Sam Lantinga b0e93e4e63 Prevent crashes if freed objects are passed to SDL API functions 1 year ago
  Sam Lantinga 52d6587084 Removed SDL_EVENTS_DISABLED 2 years ago
  Sam Lantinga 5b3ee51c6c Updated copyright for 2024 2 years ago
  Sam Lantinga b512182222 Fixed warning C6340: Mismatch on sign: 'unsigned int' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'. 2 years ago
  Ryan C. Gordon 447b508a77 error: SDL's allocators now call SDL_OutOfMemory on error. 2 years ago
  Sylvain d8600f717e Pointer as bool (libsdl-org#7214) 2 years ago
  Sam Lantinga f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression 2 years ago
  Sam Lantinga 38afd48daf Added a single source of SDL object IDs 2 years ago
  Sam Lantinga 4368f70ff9 Added properties to various SDL objects 2 years ago
  Sam Lantinga 3a47fb7208 The sensor and joystick instance ID generator isn't guarded by a lock. 2 years ago
  Sam Lantinga d9f09e77f2 Actually make the sensors magical! 2 years ago
  Sam Lantinga e385d6da0a Fixed build warning 2 years ago
  Sam Lantinga 6b93e788fa Improved sensor thread-safety 2 years ago
  Sam Lantinga 20ea35138f Use a separate sensor watching function for gamepad events to avoid reliance on system sensor events and prevent a potential deadlock 2 years ago
  Sam Lantinga 42e4639a5e For gamepads that don't have their own sensors, try to use the system sensors. 2 years ago
  Sam Lantinga 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2 years ago
  Anonymous Maarten 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 3 years ago
  David Demelier d0c4849d0b Rename SDL_atomic_t to SDL_AtomicInt 3 years ago
  Sylvain 9b065bf54b Fix various warnings: static /void / comma 3 years ago
  Sam Lantinga c5f570b30b Make sure count is 0 in out of memory conditions 3 years ago
  Sam Lantinga 7b50bae524 Renamed SDL events for clarity 3 years ago
  Ozkan Sezer 85924687fd fix SDL_GetSensorInstanceID() return code upon failure. 3 years ago
  Sam Lantinga fde78d12f2 Updated copyright for 2023 3 years ago
  Sam Lantinga 324c0b76a0 Removed SDL_HasGamepads(), SDL_HasJoysticks(), and SDL_HasSensors() 3 years ago
  Sam Lantinga 66351fd4ba Replace tri-state functions SDL_EventState(), SDL_GetJoystickEventState(), SDL_GetGamepadEventState(), SDL_ShowCursor() 3 years ago
  Sam Lantinga 16092f58bb Updated gamepad, joystick, sensor APIs, removing device indices 3 years ago
  Sam Lantinga 36d4395c97 SDL API renaming: internal functions 3 years ago