Page 1 of 2

Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 00:56
by REVENGE
Would anyone be interested in having Spring work with multitouch screens such as those by Ntrig and others? I have the hardware to work with, and imo it shouldn't be too hard to use their SDKs/APIs. A simple start would be to have a camera mode that interacts with the gesture API, so you can pinch zoom, rotate, etc. Next would be gesture commands, which I could probably learn to do in a day or two. So, who's interested?

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 08:54
by Sabutai
Make it so. 8)

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 09:30
by REVENGE
First issue:

The multitouch screen manufacturer's drivers setup a proprietary touch API for XP and Vista since they have no native system available. I'm not going to dev for these systems, since Windows 7 is right around the corner and I already have a copy of RTM. Windows 7's WPF has gesture API integrated, so I'll be using that instead.

Also, no idea what I would do on Linux. I don't know of any multitouch API project mature enough for use. As for OS X, I'm expecting APIs with Xcode for the tablet release this winter, so that should be easy to use (our lack of presence on OS X in the first place notwithstanding).

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 09:54
by imbaczek
I'm not sure how easy it'll be to use WPF in a non-NET environment. It'll be awesome if it works, but you'll have to rethink pretty much all of UI - both conceptually and programatically.

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 15:10
by AF
For the moment under OS X we have the macbooks with multi touch trackpads, being able to pinch and scroll on these would be a start, even though it isn't full multi touch screen.

Cocoa touch is the API iirc, at least under the iphone.

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 15:17
by tizbac
If SDL will support it also spring will, actually sdl events interface doesn't allow multiple "mouse cursors" and we dnon't want proprietary shit on spring

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 16:03
by lurker
we?

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 17:37
by Regret
tizbac is head of spring development.

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 17:39
by Auswaschbar
lurker wrote:we?
The GPL.

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 17:40
by lurker
Is it not a system API?

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 17:44
by tizbac
It's a program that send multiple events to windows using the API i guess, but spring needs something that doesn't violate GPL and that is cross-platform and some good ideas on how to make an rts playable with a multitouch

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 17:47
by Auswaschbar
lurker wrote:Is it not a system API?
It's a SDK, I am pretty sure there is more inside than just 1 header file...

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 19:35
by Peet
Maybe this would best be implemented the same way Beherith made his head gesture camera system - using a separate native executable and interfacing with it via LuaUI?

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 20:05
by aegis
would probably work pretty well with luasocket...

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 21 Aug 2009, 20:26
by lurker
Auswaschbar wrote:
lurker wrote:Is it not a system API?
It's a SDK, I am pretty sure there is more inside than just 1 header file...
Windows has a pretty huge SDK package, and GPL programs use it, I'm not really sure what your point is.

Edit, I was focusing on the OS X plans, but I think it applies to the rest well enough.

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 22 Aug 2009, 02:43
by Caydr
Don't hold your breath waiting for SDL support, it doesn't support 3D mice, tablets, or anything else nonstandard. These have a larger install base and greater ease of use than touchscreens.

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 22 Aug 2009, 02:57
by REVENGE
Hmm, I can't just pass system calls to Spring directly or via SDL? I mean...

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 22 Aug 2009, 08:15
by imbaczek
you can; even more, it's being already done in spring. i'm afraid you'd have to bypass sdl completely, though.

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 22 Aug 2009, 13:38
by AF
GPL has provisions for what is deemed operating system APIs, as such things liek the windows SDK do not need to eb GPL compatible because they're OS components

Re: Multitouch Screen Support (I will dev, looking for interest)

Posted: 22 Aug 2009, 23:45
by Caydr
I said something technical and wasn't shot down?! :shock: