SDL/src/sensor
Sam Lantinga 3ddbeab88f Moved Android sensor event handling to a separate thread
This makes it so you can interact with sensors on multiple threads, as long as only one thread initializes and cleans up the sensor subsystem.

This also has the benefit that sensor data is available as soon as possible.
2023-06-20 01:17:44 -07:00
..
android Moved Android sensor event handling to a separate thread 2023-06-20 01:17:44 -07:00
coremotion Use nanosecond timestamp for sensors (thanks @1bsyl!) 2023-01-23 05:34:24 -08:00
dummy Updated copyright for 2023 2023-01-09 09:41:41 -08:00
n3ds Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
vita Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
windows Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_sensor.c Use a separate sensor watching function for gamepad events to avoid reliance on system sensor events and prevent a potential deadlock 2023-06-19 16:17:34 -07:00
SDL_sensor_c.h For gamepads that don't have their own sensors, try to use the system sensors. 2023-06-16 14:44:59 -07:00
SDL_syssensor.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00