[PyQt] Wacom tablet support

Phil Thompson phil at riverbankcomputing.com
Wed Feb 6 18:49:07 GMT 2008


On Tuesday 05 February 2008, Jake Richards wrote:
> Hello:
>   I'm a little new to python and pyqt so please forgive any naive questions
> I might have :)  But, what I am attempting to do is simply have my wacom
> tablet work similarly to my mouse in a pyqt application.  It appears that
> left clicks, right clicks and tapping on the tablet all work fine, but when
> I try to drag, nothing happens.  I've tried selecting multiple things in a
> treeview, using scrollbars, highlighting text, but it seems to only
> register the first tap and not mimic holding down the left mousebutton and
> then dragging.  Here are some tech specs:
> Linux Kernel: 2.6.15-1.02
> Python 2.4
> Qt-4.3.1
> Pyqt 4.3
>
>
> The tablet seems to work fine in other applications (gimp/Shake/firefox)
> Would anyone have any help they can give me that might be obviously
> overlooked?  Is there any special initialization I need to do?  I can see
> tabletDown/tabletMove events being triggered so something is at least
> happening.  Thanks in advance!
>
> B

What about other Qt applications?

Basically, PyQt knows nothing about tablets - it if works with Qt it should 
work with PyQt.

Phil


More information about the PyQt mailing list