Sam Lantinga
a9072159b2
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Sam Lantinga
d77ab77a7a
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
9cc7ce9008
Renaming of guard header names to quiet -Wreserved-id-macro
...
Patch contributed by Sylvain
2016-11-20 21:34:54 -08:00
Sam Lantinga
255c182471
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Sam Lantinga
78f2198e6c
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Philipp Wiesemann
d1cc72dd52
Fixed bug 1845 - SDL_GetNumTouchDevices() has incorrect prototype
...
nfxjfg
SDL_touch.h:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
Is:
extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices();
Should be:
extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(void);
2013-05-12 13:42:20 +02:00
Sam Lantinga
1916ec2de3
Updated touch API
...
* Normalized touch coordinates as floats in the 0...1 range
* Removed unused touchpad concepts from the API
* Added API functions to get active touch devices and current finger state
2013-03-03 01:01:33 -08:00
Sam Lantinga
a2aa3983b3
Added a mouse ID to the mouse events, which set to the special value SDL_TOUCH_MOUSEID for mouse events simulated by touch input.
2013-03-02 20:44:16 -08:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
5fd86fdeac
Fixed bug 1542 - SDL_Touch should reserve tilt_x and tilt_y
...
Gerry JJ 2012-07-14 19:42:23 PDT
The SDL_Touch structure currently reserves fields for tablet tilt and rotation
(marked "for future use"), but a tablet stylus can tilt in both x and y
directions in addition to rotation around itself (or, put another way, it can
rotate in x, y and z). So, the struct should probably reserve fields for both
tilt_x and tilt_y, not just tilt.
2012-07-18 15:53:33 -07:00
Sam Lantinga
5160c3d202
Created a header file for system dependent API functions, and added SDL_iPhoneSetAnimationCallback()
2012-06-22 19:19:18 -04:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
a2cdcf5486
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Jim Grandpre
e9d12a479a
Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture
2010-08-15 00:36:28 -04:00
Sam Lantinga
0b1069a725
Fixed various type and print format issues
2010-07-31 20:38:37 -07:00
jimtla
05c264c774
Added SDL_TouchID, SDL_FingerID, SDL_GestureID types. Converted to integer cioordinates (<- not working).
2010-07-31 20:02:54 +04:00
jimtla
214939549f
Upgraded touchId/fingerId to long. Changed position variables to floats.
2010-07-30 23:18:35 +04:00
Jim Grandpre
9e7603a6ba
Added some files I had previosuly missed
2010-07-11 01:15:39 -04:00
Jim Grandpre
4e7b6a96a5
Fixed bugs in input, cleaned up $1
2010-06-18 01:43:02 -04:00
jimtla
ea0c984c8e
Addition of VC project for touchTest.c
2010-06-05 01:58:56 -04:00
Jim Grandpre
60450688f9
Added include/touch.h Now reading in resolution of touch pad.
2010-06-01 02:54:33 -04:00