Commit graph

3362 commits

Author SHA1 Message Date
Jim Grandpre
794c5cb3ee Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture 2010-08-15 00:36:28 -04:00
Jim Grandpre
68b3cfb42f Fixed bugs related to keyboard handling in gestureSDLTest. Fixed gesture code (dynamic memory allocation). Cleaned up gesture and test code. 2010-08-13 23:08:32 -04:00
Sam Lantinga
c26da073d3 Fixed so the origin of the touch events is the upper left. 2010-08-13 17:05:06 -07:00
Jim Grandpre
ef04c29fdd Removed some debug prints. 2010-08-07 11:35:24 -04:00
Jim Grandpre
9e84eb9fa5 Fixed Dollar Recognition. 2010-08-07 11:32:11 -04:00
Jim Grandpre
f15f76c9ad Re-enabled dollar gesture 2010-08-06 01:55:38 -04:00
Jim Grandpre
bcd4b4df6f Fixed gestureMulti. Disabled dollar gesture temporarily. 2010-08-04 23:17:30 -04:00
Jim Grandpre
c219144751 Minimized functionality of gestureSDLTest. 2010-08-03 00:18:00 -04:00
Jim Grandpre
a4c4851398 Fixed some Gesture bugs 2010-08-02 00:14:53 -04:00
Sam Lantinga
2a8820a2a9 Fixed sending motion and finger up events 2010-07-31 20:55:33 -07:00
Sam Lantinga
b7caec8ae2 Fixed various type and print format issues 2010-07-31 20:38:37 -07:00
jimtla
39ee818f98 Added SDL_TouchID, SDL_FingerID, SDL_GestureID types. Converted to integer cioordinates (<- not working). 2010-07-31 20:02:54 +04:00
jimtla
598471cf71 Added Iphone project. Iphone multi-touch is now functional. 2010-07-31 01:24:50 +04:00
jimtla
c9b9312be3 Upgraded touchId/fingerId to long. Changed position variables to floats. 2010-07-30 23:18:35 +04:00
Jim Grandpre
6ed8759bcc Added better logging 2010-07-29 12:26:59 -04:00
Jim Grandpre
a4a0897a1d Prevented SDL_SendDown from sending on nonexistent touch devices. 2010-07-29 12:24:34 -04:00
Sam Lantinga
73db548db1 Fixed the code so we receive Cocoa touch events 2010-07-28 23:32:13 -07:00
jimtla
dafed2a5ce Added cocoatouch.h 2010-07-27 18:14:09 +04:00
jimtla
926bfd4056 Finished (untested) OS X code. 2010-07-27 05:21:24 +04:00
jimtla
f2cbd1683a Added preliminary touch code to SDL_cocoakeyboard.m 2010-07-24 22:28:38 +04:00
jimtla
c1e63cf801 Fixed x11 compile bugs. 2010-07-22 08:12:28 +04:00
Jim Grandpre
0858d51e89 Merged changes 2010-07-17 23:16:57 -04:00
Jim Grandpre
fcc9a5d29a Fixed Warning related to SDL_GestureAddTouch 2010-07-17 23:16:23 -04:00
Sam Lantinga
1c2ea482ae Revision 3163 added the following formats for OpenGL ES:
SDL_PIXELFORMAT_ABGR4444, SDL_PIXELFORMAT_ABGR1555, SDL_PIXELFORMAT_BGR565
2010-07-16 22:16:05 -07:00
Jim Grandpre
e194428b9f Merged changes 2010-07-16 20:53:44 -04:00
Jim Grandpre
67ddc464bd Bug fixes, now using RWops instead of File pointers. 2010-07-16 20:48:43 -04:00
Sam Lantinga
92be476e14 Started trying to build gesture code for iPhone 2010-07-15 06:51:16 -07:00
Jim Grandpre
987edb15b3 Added alternative finger tracking method. Still prefer IPHONE_TOUCH_EFFICIENT_DANGEROUS. 2010-07-13 18:31:09 -04:00
Sam Lantinga
22a37911dd Merged changes from the main SDL codebase
--HG--
rename : VisualC/SDL/SDL.vcproj => VisualC/SDL/SDL_VS2005.vcproj
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
rename : VisualC/SDLmain/SDLmain.vcproj => VisualC/SDLmain/SDLmain_VS2005.vcproj
2010-07-12 21:09:23 -07:00
Jim Grandpre
08bce778c8 Added Iphone support (untested) 2010-07-12 22:03:25 -04:00
Sam Lantinga
c792268d84 Implemented X11 system window manager info for SDL 1.3. It's simple. Really. 2010-07-12 01:20:57 -07:00
Sam Lantinga
18f003c169 Made it possible to switch the text format in one place 2010-07-12 00:49:26 -07:00
Sam Lantinga
2e99ef1dfc Added X11 clipboard support.
As far as I know there isn't any real way to tell when the clipboard contents have changed without polling them, so I didn't implement the clipboard update event on X11.
2010-07-12 00:36:55 -07:00
Sam Lantinga
2d945be8fc Fixed compile warnings 2010-07-12 00:35:24 -07:00
Sam Lantinga
0363b757a8 Fixed compile warnings 2010-07-12 00:35:14 -07:00
Sam Lantinga
57180a1c7e Fixed compiler warning 2010-07-12 00:33:24 -07:00
Jim Grandpre
99ed0692e1 Added some files I had previosuly missed 2010-07-11 01:15:39 -04:00
Jim Grandpre
746dc79478 Moved $1 Gestures into the SDL Library 2010-07-09 00:50:40 -07:00
Sam Lantinga
ef598b2e7c Amazingly the Windows code is almost identical to the Mac OS X code. :) 2010-07-08 23:07:34 -07:00
Sam Lantinga
ff0ba0afa5 Added an event when the clipboard is updated, triggered after the window gains the keyboard focus. 2010-07-08 22:54:03 -07:00
Sam Lantinga
9520a46847 Made the new public headers public 2010-07-08 06:21:48 -07:00
Sam Lantinga
78efa56da5 Updated Xcode project files for clipboard API
Fixed generation of SDL_revision.h when hg is in the path set up in .bash_profile
2010-07-08 06:16:27 -07:00
Sam Lantinga
3ff2d236cd Added Windows clipboard support 2010-07-08 05:43:34 -07:00
Sam Lantinga
a007a28624 Added Mac OS X implementation of clipboard support 2010-07-08 00:35:58 -07:00
Sam Lantinga
3a942c6da3 I missed the Objective C files when updating the copyright date... 2010-07-08 00:03:39 -07:00
Sam Lantinga
b75fc9b1a1 Added simple clipboard test 2010-07-08 00:00:07 -07:00
Sam Lantinga
316197f968 Need to add new headers to Makefile.in 2010-07-07 23:59:20 -07:00
Sam Lantinga
c2c15058b1 Simplified clipboard API for sanity's sake.
A complete clipboard implementation would support multiple formats that could be queried at runtime, events for when the clipboard contents changed, support for HTML, images, etc.  We're not going that crazy, at least for now. :)
2010-07-07 23:54:03 -07:00
Sam Lantinga
b4ac7a2840 Whoops, updated the copyright date 2010-07-07 23:26:07 -07:00
Sam Lantinga
988043daa2 First pass at clipboard API, still very much in progress 2010-07-07 23:24:04 -07:00