2009/3/23 Donny Viszneki <donny.viszneki at gmail.com>:
2009/3/23 Alejandro Casta?o del Castillo <@Alejandro_Castano_de>:
I’m a spanish student. I was reading the ideas to GSoC and I saw the
Touch Input. I thought it could be interesting so I downloaded the svn
code. I was playing with the code and I saw that the API has been
changed.
Exactly what are you referring to?
I write some games with SDL 1.2. I can see several changes in the
svn code like multiple mice support.
I also saw that there is code to work with digital tablets
with preasure, etc. I don’t understand very well the idea, but I
thought about creating an auxiliar library like SDL_mixer o SDL_mixer,
called SDL_touch, which is able to recognize some gestores and
maybe… caracters too. Later multitouch gestures can be implemented.
For a predetermined number of simultaneous sensed contact points (like
iPhone which has a max of two, or so I have been told) SDL’s back-end
for “pointer device” input would probably need to be changed slightly,
unless of course the API provided for accessing the touch sensor
simply overloads the platform’s existing pointer device APIs.
I don’t know how multitouch technology works, but I read in some webs that
at least in X11, multitouch are “like two mice”. So I thought no-changes is
needed in the core SDL. In any case I can work in SDL input, it seems
mice supports is a little “broken”. I can’t make work some functions, for
example SDL_WarpMouse.
I don’t know if this was the original idea so I’d like someone to
explain me more about it. Anyway I’d also want to know your opinion
about my idea.
I believe most of these systems use machine learning. Specifically I
believe simple FF neural nets are typically used. Sounds like an
exciting project, actually. I’d love to help, but I don’t have any
multitouch-capable devices with which to test.
Probably you are right, but I’m not sure neither. I’d like Sam (or
the person who wrotes the idea) explains what really he wants.
I really want to work in SDL because I used it a lot. I read all
ideas but this it looks like more interesting, but I don’t care to work
in Recording or Multi-Display support.
(Although actually, I do have the supplies to make one of these
http://www.youtube.com/watch?v=gFKCmfj-yuc but if I made one of those,
I wouldn’t want a formal pointer API sitting between me and my
multitouch data, since I could potentially get much cooler information
by directly accessing the webcam’s framebuffer.)
PD: Is any easy bug to try fix it and to familiarized with the code?