[Gambas-user] Reading pen pressure from wacom tablets

Ricardo Díaz Martín oceanosoftlapalma at ...626...
Thu Aug 16 16:39:51 CEST 2012


Yes, with gimp works nice.


2012/8/16 Benoît Minisini <gambas at ...1...>

> Le 16/08/2012 16:16, Ricardo Díaz Martín a écrit :
> > Benoit,
> >
> > Ummm, take an oulook to this:
> http://doc.trolltech.com/4.6/qtabletevent.html
> >
> > this is the event definition:
> > QTabletEvent::QTabletEvent ( Type type, const QPoint & pos, const QPoint
> &
> > globalPos, const QPointF & hiResGlobalPos, int device, int pointerType,
> > qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal
> > rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID )
> >
> > there is a "keyState specifies which keyboard modifiers are pressed
> (e.g.,
> > Ctrl)."
> >
> > Could it be the segment fault for this keyState property?
> >
>
> Mmm... no.
>
> The crash is really while receiving a keyboard event (a QEvent whose
> type is QEvent::KeyPress).
>
> Did you try your pen with the GIMP? To see if it detects it, as it uses
> GTK+.
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list