[Gambas-user] Reading pen pressure from wacom tablets

Benoît Minisini gambas at ...1...
Thu Aug 16 16:23:44 CEST 2012


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




More information about the User mailing list