Maniphest T48625

Blender cannot interpret Right Click for Wacom Tablet
Closed, Resolved

Assigned To
Mike Erwin (merwin)
Authored By
jen (jenerator)
Jun 9 2016, 4:16 PM
Tags
  • BF Blender
  • Platform: macOS
Subscribers
Ajlan Altug (jacobo)
Bastien Montagne (mont29)
Brecht Van Lommel (brecht)
Camike Press (camikepress)
duane moody (duanemoody)
Giovanni Vicentin (giovincentini)
jen (jenerator)
2 More Subscribers

Description

System Information

Graphics:
ATI Radeon 5770 (x2)

System Software Overview:

System Version:	OS X 10.11.5 (15F34)
Kernel Version:	Darwin 15.5.0
Boot Volume:	Macintosh HD
Boot Mode:	Normal
Secure Virtual Memory:	Enabled
System Integrity Protection:	Enabled
Model Name:	Mac Pro
Model Identifier:	MacPro5,1
Processor Name:	Quad-Core Intel Xeon
Processor Speed:	2.4 GHz
Number of Processors:	2
Total Number of Cores:	8
L2 Cache (per Core):	256 KB
L3 Cache (per Processor):	12 MB
Memory:	14 GB
Processor Interconnect Speed:	5.86 GT/s
Boot ROM Version:	MP51.007F.B03
SMC Version (system):	1.39f11
SMC Version (processor tray):	1.39f11

Wacom Driver info:
Intros PT S CTH-480
Version 1.00
Driver version: 6.3.16-12

Blender Version
Broken: 2.77a abf6f08

Short description of error

Blender interprets "right click" as "left click," only for my Wacom pen and tablet. I've assigned all buttons to be "Right Click" on my pen and it still does not work properly.

Tried reinstalling Wacom drivers, resetting and redownloading Blender, restarting system, plugging into different USB ports... no success.

Exact steps for others to reproduce the error

Does not work for any .blend files

USB Device info:
Intuos PTS:

Product ID:	0x0302
Vendor ID:	0x056a  (WACOM Co., Ltd.)
Version:	1.00
Speed:	Up to 12 Mb/sec
Manufacturer:	Wacom Co.,Ltd.
Location ID:	0xfa230000 / 4
Current Available (mA):	1000
Current Required (mA):	498
Extra Operating Current (mA):	0

Related Objects

Mentioned In
rB0b415700f450: Attempted fix for T48625: tablet button configured to right click not working…
Mentioned Here
rB0b415700f450: Attempted fix for T48625: tablet button configured to right click not working…
rBcefbe8fe5401: Fix build error with GCC 6.1.

Event Timeline

jen (jenerator) created this task.Jun 9 2016, 4:16 PM
jen (jenerator) raised the priority of this task from to 90.
jen (jenerator) updated the task description.
jen (jenerator) added a project: BF Blender.
jen (jenerator) edited a custom field.
jen (jenerator) added a subscriber: jen (jenerator).
Bastien Montagne (mont29) added a project: Platform: macOS.Jun 11 2016, 2:54 PM
Bastien Montagne (mont29) added subscribers: Mike Erwin (merwin), jens verwiebe (jensverwiebe), Brecht Van Lommel (brecht), Bastien Montagne (mont29).

We need an OSX developper with a Wacom tablet to investigate that… @jens verwiebe (jensverwiebe), @Brecht Van Lommel (brecht), @Mike Erwin (merwin), one of you guys maybe?

duane moody (duanemoody) added a subscriber: duane moody (duanemoody).Jun 11 2016, 7:44 PM

I can verify this error. Mapping anything on the tablet as right-click (e.g. the accessory buttons) acts as a left-click.

I suspect OS X Blender's method for polling the input is lower level than the OS would suggest (since the Wacom drivers are able to send the events correctly to other applications).

jens verwiebe (jensverwiebe) added a comment.Jun 11 2016, 7:51 PM

Hi folks
Until i abandoned OSX last years may, i always used to work in blender exclusively
with a wacom graphire4. I never experienced such problem, had used both pen buttons
always. ( but not flipped )
So this may be a new issue ?

Jens

duane moody (duanemoody) added a comment.Jun 11 2016, 8:13 PM

It's a bug in SDL2.

Here's GZDoom made with SDL and it also misdetects a right click from a Wacom device as a left click.

Mike Erwin (merwin) claimed this task.Jun 11 2016, 8:42 PM

Sure, I'm familiar with this code & have some Wacom gear at home.

We don't use SDL to get tablet events, but maybe we have the same bug!

Brecht Van Lommel (brecht) mentioned this in rB0b415700f450: Attempted fix for T48625: tablet button configured to right click not working….Jun 11 2016, 8:47 PM
Brecht Van Lommel (brecht) added a comment.Jun 11 2016, 8:47 PM

Works correct for me on OS X 10.11 with a Wacom Bamboo, I can't reproduce the problem here. We don't use SDL for getting tablet events, so that's not the issue.

I've committed a possible fix for this issue, but can't test it myself. Please try tomorrow's build from https://builder.blender.org/download/ to see if the issue is fixed.

Brecht Van Lommel (brecht) lowered the priority of this task from 90 to Normal.Jun 11 2016, 8:52 PM
jen (jenerator) changed the task status from Unknown Status to Resolved.Jun 13 2016, 6:12 PM

Incredible. Checked out 2.77 cefbe8f and my Wacom tablet is now registering right clicks. Thanks a ton.

Mathew McNeill (azyunomi) added a subscriber: Mathew McNeill (azyunomi).Jun 23 2016, 6:42 PM

Thanks, I came here with the same problem, and the daily build solved it for me. Mac/Intuos

Camike Press (camikepress) added a subscriber: Camike Press (camikepress).Jun 27 2016, 10:11 PM
Camike Press (camikepress) added a comment.EditedJun 27 2016, 10:19 PM

Nightly build solved it for me as well with a Cintiq 27 QHD. Thanks!

duane moody (duanemoody) added a comment.Jun 28 2016, 12:29 AM
In T48625#377848, @Brecht Van Lommel (brecht) wrote:

Works correct for me on OS X 10.11 with a Wacom Bamboo, I can't reproduce the problem here. We don't use SDL for getting tablet events, so that's not the issue.

I've committed a possible fix for this issue, but can't test it myself. Please try tomorrow's build from https://builder.blender.org/download/ to see if the issue is fixed.

You fixed it! If you could share with us how you did it, that would be great because even if you're not using SDL, I was able to confirm SDL (1&2) demonstrate the same problem.

Brecht Van Lommel (brecht) added a comment.Jul 1 2016, 8:07 PM

The fix was in rB0b415700f450: Attempted fix for T48625: tablet button configured to right click not working…. It's basically giving [event type] priority over [event buttonNumber] to determine if it's the left, right or another button.

Ajlan Altug (jacobo) added a subscriber: Ajlan Altug (jacobo).Nov 27 2020, 4:53 PM
This comment was removed by Ajlan Altug (jacobo).
Ajlan Altug (jacobo) added a comment.Dec 22 2020, 4:27 PM

Here's an excerpt from the last support mail I got from Wacom:

We were able to replicate the issue and essentially, like you said, the driver thinks that when you are using the left and right click at the same time it overrides that command and uses it as a single click instead.

What you can try to do is:

Open Wacom Desktop Center> Click on the name of your device and go to Pen Settings
When you are there please click one of the dropdown lists for one of the SideSwitches
Then click on Keyboard> Modifier> Set the "Clicks" to Left and right
You can also try to find the specific command for that action in Blender, change it to a keyboard key and then set it as the "Keystroke" option on Pen Settings
Since this is a very specific issue in one specific application, downloading a previous driver might fix the issue if the steps above do not work

I tried it all, absolutely to no avail. So do I have to download a beta version of Blender to be able to use this new Wacom tablet? I don't wanna have to :( :( Can't this be fixed in a stability release of teh 2.91 series?

Ajlan Altug (jacobo) added a comment.Dec 22 2020, 4:31 PM

So since this task has been marked as resolved, what's the solution???? I'm on 2.9.01 and 2.91. What do I need to do?

Giovanni Vicentin (giovincentini) added a subscriber: Giovanni Vicentin (giovincentini).Jan 18 2022, 7:29 PM

Blender 3.0 and still have this issue. I can't use the clicks using a brand new Wacom Intuos Pro 2019 and the latest driver updated.