On Fri, 2010-12-31 at 14:07 +0100, Felix Breuer wrote:
> Hello!
> 
> In the process of experimenting with writing pen-centric application
> using OpenGL I realized that 1) using immediate mode is impractical
> and 2) wrangling VBOs is work I do not really want to do. So here I
> am, looking at clutter as a more high-level toolkit that will
> hopefully lift some of the burden from my shoulders. I have two
> questions:
> 
> 1) Does clutter handle digital pen input? (Here "digital pen" refers
> to an active digitiser as provided by a Wacom tablet.) If yes, is
> there any example code that demonstrates the use of pen input? If no,
> how would I go about adding this functionality to clutter?

Clutter on X11 recognizes different devices, and attaches the device
that originated the event to the ClutterEvent structure passed to the
event-related signals.

you can look at the ClutterEvent structure and the ClutterInputDevice
class on the API reference:

http://docs.clutter-project.org/docs/clutter/stable/

you will need Clutter compiled with XInput support, which is currently
not the default; for 1.6 I'm about to finish XInput 2.0 support, which
will be enabled by default.

> The next question is totally unrelated to the above. It merely
> reflects what platform I am on:
> 
> 2) From what I gather, clutter also runs on Windows. Is there any
> documentation about how to build clutter and apps using clutter on
> Windows? Does it require Cygwin? Can it be done with MinGW?

you can read the building instructions on the wiki:

http://wiki.clutter-project.org/wiki/BuildingClutterOnWindows

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Open Source Software Engineer
Intel Open Source Technology Center

_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to