Ivan Epifanov
a1adc8a9d6
Add sensor support
2021-03-08 09:07:12 -08:00
Sam Lantinga
9130f7c377
Updated copyright for 2021
2021-01-02 10:25:38 -08:00
Sam Lantinga
cb36189692
Fixed bug 5235 - All internal sources should include SDL_assert.h
...
Ryan C. Gordon
We should really stick this in SDL_internal.h or something so it's always available.
2020-12-09 07:16:22 -08:00
Ozkan Sezer
59795822d0
make SDL_SensorGetDeviceNonPortableType match its prototype.
2020-11-11 12:33:55 +03:00
Sam Lantinga
3180ba81af
First pass at Windows sensor implementation
2020-04-08 08:34:27 -07:00
Sam Lantinga
a8780c6a28
Updated copyright date for 2020
2020-01-16 20:49:25 -08:00
Sylvain Becker
3ac67cf458
Fixed bug 4837 - Use after free in SDL_SensorUpdate (Thanks!)
2019-10-23 08:46:59 +02:00
Sylvain Becker
412ab7e1aa
Fixed bug 4829 - Sensor events incorrectly disabled
2019-10-18 14:23:37 +02:00
Sam Lantinga
5e13087b0f
Updated copyright for 2019
2019-01-04 22:01:14 -08:00
Sam Lantinga
b73703b9c6
Fixed bug 4391 - hid_enumerate() sometimes causes game to freeze for a few seconds
...
Daniel Gibson
Even though my game (dhewm3) doesn't use SDL_INIT_JOYSTICK, SDL_PumpEvent() calls SDL_JoystickUpdate() which ends up calling hid_enumerate() every three seconds, and sometimes on my Win7 box hid_enumerate() takes about 5 seconds, which causes the whole game to freeze for that time.
2018-11-19 21:17:00 -08:00
Sam Lantinga
7df0f4fdac
Fixed bug 4277 - warnings patch
...
Sylvain
Patch a few warnings when using:
-Wmissing-prototypes -Wdocumentation -Wdocumentation-unknown-command
They are automatically enabled with -Wall
2018-09-27 14:56:29 -07:00
Sam Lantinga
c6647bf9c9
Added the iOS sensor implementation
2018-08-21 17:24:12 -07:00
Sam Lantinga
3e5dbc694a
Added a dummy sensor driver
2018-08-21 13:29:21 -07:00
Sam Lantinga
7c3040e08a
First pass on the new SDL sensor API
2018-08-21 12:11:34 -07:00