On Fri, 2010-12-31 at 15:17 +0100, Felix Breuer wrote:
> 2010/12/31 Emmanuele Bassi <[email protected]>

>         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/
> 
> Yes, I saw those Clutter*Event structs. However, ClutterMotionEvents
> do not have a pressure field and ClutterInputDevice does not provide a
> function for getting the pressure of the device. Is the pressure
> stored in the axes field of a ClutterMotionEvent? Or is pressure
> sensitivity not supported as of now?

pressure sensitivity is not supported; nor are axes.

the support for both on X11 is planned for 1.6, along with the rest of
the XI2.
 
>         
>         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.
> 
> Does the reliance on XInput mean that pen-support is not going to work
> under Windows? 

it means that it's currently untested on Windows. I don't think we do
something special with devices on the win32 backend - obviously, patches
are welcome.

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