Is the C++ Gesture Server as developed as the Java one

閲覧: 43 回
最初の未読メッセージにスキップ

Ashley

未読、
2011/09/26 17:08:442011/09/26
To: sparsh-ui
Hi,
I was hoping to use the C++ Gesture Server to develop some new
gestures, then I figured some of the gestures (flick, dbl click, and
relative drag) from the Java Gesture Server is not implemented in the C
++ library, is there a reason why? Is it advisable even to use the C++
library or not. Between the C++ and Java which one is more mature?

Thanks
Ashley

Jay

未読、
2011/09/26 19:28:572011/09/26
To: sparsh-ui
The Java version is the place where active Sparsh-UI development is
going. I don't think those gestures have been ported back to the C++
gesture server yet. The Java gesture server is definitely more mature
than the C++ version.

Ashley, I worked on an extension to Sparsh-UI called AQUA-G which is
written in C++ and has a reasonably similar interface between the
gesture server and input devices/applications. It has support for a
few more more gestures and input devices than does Sparsh-UI, but I
haven't done a lot of work on it either since graduating. It's
available here if you're interested: http://code.google.com/p/aqua-gesture-framework/

Ashley

未読、
2011/09/28 11:39:382011/09/28
To: sparsh-ui
I will try to use the Java version since it is actively being
developed.

Thanks
Ashley

Ashley

未読、
2011/10/03 15:54:592011/10/03
To: sparsh-ui
I have one more question related to this, is it possible to use the
SparshUI Java server with the SparshUI C++ client application? would
the gestures work with the Java Lib being developed but not the C++?
If you could clarify these it would be wonderful.

Thanks
Ashley

Jay

未読、
2011/10/03 19:57:212011/10/03
To: sparsh-ui
Hi Ashley,
It is possible to use the SparshUI Java server with the C++ client
application. However, not all of the gestures are currently supported
for C++ code. The result of sending touch point data into a gesture
is typically an event which contains the gesture data. For the client
application to understand the gesture, it needs to support receiving
the event that the gesture outputs. Supported C++ events are found in
the code in /trunk/C++/GestureServer/Common/Events.

Each event has to support serialization over a network stream; a
constructor which takes a byte array and populates the member
variables, and a method serialize() which packs the members into a
single byte array.

So porting the Java events into C++ should not be too difficult, and
we'd be excited about getting some of them ported if you're interested
in contributing! Once the events are ported into C++ and added into
the ClientAdapter code, C++ apps should be able to work with the rest
of the gestures in the Java server.

Hope this helps, and good luck!

Jay
全員に返信
投稿者に返信
転送
新着メール 0 件