[Qt-interest] detecting tablet pen rocker buttons in Qt 4 Linux
Paul Miller
paul at fxtech.com
Fri Dec 3 15:09:55 CET 2010
On 12/2/2010 3:44 PM, Jeffery MacEachern wrote:
> I've never actually tried this with my own code, but I have
> successfully used my Wacom Bamboo pen in this way with Qt-based
> applications, so it should be doable.
Yes, I agree it should be doable. In fact it works properly on Windows,
but I think the driver itself is converting the rocker buttons into
mouse events before it even hits Qt.
This doesn't seem to be happening on Linux. However, it worked as
expected with Qt 3.
> - Jeffery MacEachern
>
>
>
> On Thu, Dec 2, 2010 at 13:11, Paul Miller<paul at fxtech.com> wrote:
>> Something seems to have changed between Qt 3 and 4. Now, there is no way
>> to detect whether a rocker/side button on a Wacom pen has been pressed.
>> It treats this as a normal TabletPress event, but pressure is 0.
>>
>> I want to treat one of the rocket buttons as a Right Mouse Button and
>> the other as a Middle Mouse Button.
>>
>> Can this be made to work?
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>
More information about the Qt-interest-old
mailing list