Sam Lantinga
6d7269815b
Clarified the expected sensor value when a game controller is at rest
...
(cherry picked from commit 1a20ccb2897fc9b12ad5242f9128cb6bb60368b1)
2023-04-06 09:55:43 -07:00
Sam Lantinga
0479df53ca
Updated copyright for 2023
2023-01-09 09:48:21 -08:00
SDL Wiki Bot
393acf6362
Sync SDL wiki -> header
2022-10-25 18:07:13 +00:00
SDL Wiki Bot
4ca86dae2f
Sync SDL wiki -> header
2022-10-05 23:26:14 +00:00
SDL Wiki Bot
36e7670143
Sync SDL wiki -> header
2022-09-27 16:57:17 +00:00
Sam Lantinga
2c518747b9
Added microsecond timestamp to sensor values for PS4 and PS5 controllers using the HIDAPI driver
2022-09-27 09:56:49 -07:00
Sam Lantinga
4018f35ef2
Added left and right sensors for Nintendo Joy-Con and Wii controllers
2022-09-07 00:00:27 -07:00
Sam Lantinga
120c76c84b
Updated copyright for 2022
2022-01-03 09:40:21 -08:00
SDL Wiki Bot
c7dafb1556
Sync wiki -> header
2021-10-27 01:36:05 +00:00
Ryan C. Gordon
c88eb7a896
Sync wiki -> header.
2021-07-14 17:07:04 -04:00
Ryan C. Gordon
f8c1fc49d9
doxygen: Fix all the "\returns" so they work as part of complete sentences.
2021-07-14 14:15:30 -04:00
Ryan C. Gordon
3f40396d33
First shot at merging the wiki documentation into the headers.
2021-03-21 14:19:53 -04:00
Sam Lantinga
9130f7c377
Updated copyright for 2021
2021-01-02 10:25:38 -08:00
Sam Lantinga
fcb21aa883
Added API for sensors on game controllers
...
Added support for the PS4 controller gyro and accelerometer on iOS and HIDAPI drivers
Also fixed an issue with the accelerometer on iOS having inverted axes
2020-11-17 10:30:20 -08: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
Sam Lantinga
5e13087b0f
Updated copyright for 2019
2019-01-04 22:01:14 -08:00
Sylvain Becker
71b6645177
Rename _SDL_sensor_h in public header, not to trigger Wreserved-id-macro
2018-12-10 13:32:24 +01: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
Ozkan Sezer
afc1738ecb
SDL_sensor.h, SDL_video.h: remove comma at end of enumerator lists.
...
Avoids gcc -pedantic warnings, closes bug #4253 .
2018-09-07 10:47:50 +03:00
Ryan C. Gordon
0cf1ae9d0b
Fixed a comment typo.
2018-09-05 21:24:13 -04:00
Sam Lantinga
8adadf8f0e
Added documentation for additional Android sensors
2018-08-23 10:51:54 -07:00
Sam Lantinga
f225af0c1e
Added SDL_GetDisplayOrientation() to get the display orientation, and added a new event SDL_DISPLAYEVENT to notify the application when the orientation changes.
...
Documented the values returned by the accelerometer and gyroscope sensors
2018-08-22 21:48:28 -07:00
Sam Lantinga
c5bcefa7e8
Fixed duplicate definition of SDL_JoystickID
2018-08-21 13:44:11 -07:00
Sam Lantinga
7c3040e08a
First pass on the new SDL sensor API
2018-08-21 12:11:34 -07:00