antonegas
|
33f1008d01
Added Emscripten support for Sensor API
|
hai 4 meses |
Sam Lantinga
|
25b2d2c821
Use new parameter validation macro
|
hai 6 meses |
Sam Lantinga
|
f2074d7af3
Updated copyright for 2025
|
hai 1 ano |
Sam Lantinga
|
a90ad3b0e2
Removed SDL_bool in favor of plain bool
|
hai 1 ano |
Sam Lantinga
|
8d223b3037
Renamed atomic functions to match SDL 3.0 naming convention
|
hai 1 ano |
Petar Popovic
|
d2ef15d8e6
Fix warnings: calloc-transposed-args
|
hai 1 ano |
Sam Lantinga
|
9ff3446f03
Use SDL_bool instead an int return code in the SDL API
|
hai 1 ano |
Sam Lantinga
|
8f546bb3c9
Use C99 bool internally in SDL
|
hai 1 ano |
Sam Lantinga
|
6501e90018
Use C++ style comments consistently in SDL source code
|
hai 1 ano |
Sam Lantinga
|
4f55271571
Removed temporary memory from the API
|
hai 1 ano |
Sam Lantinga
|
856d598d6e
SDL_GetSensors() follows the SDL_GetStringRule
|
hai 1 ano |
Sam Lantinga
|
bb96320cc4
Make sure we always copy the data returned using SDL_GetStringRule
|
hai 1 ano |
Sam Lantinga
|
5c875e1183
Renamed *FromID() to *ForID()
|
hai 1 ano |
Sam Lantinga
|
d154b37b41
Renamed *FromInstanceID() to *FromID()
|
hai 1 ano |
Sam Lantinga
|
e90060d07f
Renamed functions to get information from device IDs
|
hai 1 ano |
Ryan C. Gordon
|
e23257307e
Introduce formal policy for APIs that return strings.
|
hai 1 ano |
Sam Lantinga
|
b0e93e4e63
Prevent crashes if freed objects are passed to SDL API functions
|
hai 1 ano |
Sam Lantinga
|
52d6587084
Removed SDL_EVENTS_DISABLED
|
%!s(int64=2) %!d(string=hai) anos |
Sam Lantinga
|
5b3ee51c6c
Updated copyright for 2024
|
%!s(int64=2) %!d(string=hai) anos |
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'.
|
%!s(int64=2) %!d(string=hai) anos |
Ryan C. Gordon
|
447b508a77
error: SDL's allocators now call SDL_OutOfMemory on error.
|
%!s(int64=2) %!d(string=hai) anos |
Sylvain
|
d8600f717e
Pointer as bool (libsdl-org#7214)
|
%!s(int64=2) %!d(string=hai) anos |
Sam Lantinga
|
f3261fedcc
Code cleanup now that SDL_bool is equivalent to a C boolean expression
|
%!s(int64=2) %!d(string=hai) anos |
Sam Lantinga
|
38afd48daf
Added a single source of SDL object IDs
|
%!s(int64=2) %!d(string=hai) anos |
Sam Lantinga
|
4368f70ff9
Added properties to various SDL objects
|
%!s(int64=2) %!d(string=hai) anos |
Sam Lantinga
|
3a47fb7208
The sensor and joystick instance ID generator isn't guarded by a lock.
|
%!s(int64=2) %!d(string=hai) anos |
Sam Lantinga
|
d9f09e77f2
Actually make the sensors magical!
|
%!s(int64=2) %!d(string=hai) anos |
Sam Lantinga
|
e385d6da0a
Fixed build warning
|
%!s(int64=2) %!d(string=hai) anos |
Sam Lantinga
|
6b93e788fa
Improved sensor thread-safety
|
%!s(int64=2) %!d(string=hai) anos |
Sam Lantinga
|
20ea35138f
Use a separate sensor watching function for gamepad events to avoid reliance on system sensor events and prevent a potential deadlock
|
%!s(int64=2) %!d(string=hai) anos |