[Gambas-user] Reading pen pressure from wacom tablets
Ricardo Díaz Martín
os.ricardo.diaz at ...626...
Thu Aug 16 17:05:04 CEST 2012
More extra information...
If I keep the pen pressed (it means mouse down its fired) I can move the
pen to everywhere in the screen with no crash. If I try to do it with pen
pressure = 0 (the pencil is some millimeter over the tablet) the I got the
crash.
I wrote on before that MouseUp and MouseDown sometimes where fired and
sometimes not. It was my mistake. Both of then are right fired. Sorry.
Regards,
Ricardo
2012/8/16 Ricardo Díaz Martín <os.ricardo.diaz at ...626...>
> Extra information.
>
> I said that IDE crash after the poject crash. So I try now to do a gdb to
> gambas3 and I got this:
>
> ricardo.diaz at ...2915...:~/Documentos/gambassource/trunk/app/src/gambas3$
> gdb gbx3
> GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Para las instrucciones de informe de errores, vea:
> <http://bugs.launchpad.net/gdb-linaro/>...
> Leyendo símbolos desde /usr/local/bin/gbx3...hecho.
> (gdb) run
> Starting program: /usr/local/bin/gbx3
> [Depuración de hilo usando libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> ERROR: #2: Cannot load class 'CReportBrush': Unable to load class file
> [Inferior 1 (process 6213) exited with code 01]
>
> Maybe it's related maybe not. I don't know...
>
>
>
>
> 2012/8/16 Ricardo Díaz Martín <oceanosoftlapalma at ...626...>
>
>> 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