We've been getting a lot of feedback from users that use our app (Smooze - A Mouse enhancement app) with a Wacom lately.It seems that some of our functionally that are depended on dragging stopped working with Wacom.

After an investigation it seems that one of the recent driver updates changed the way the driver works and drag events are no longer sent to the OS.

I can see that the events:

kCGEventRightMouseDownkCGEventOtherMouseDown

kCGEventOtherMouseUpkCGEventRightMouseUp

Are registered fine but drag events such as:

kCGEventRightMouseDraggedkCGEventOtherMouseDragged

Are never registered.

Is this intentional or is that a bug in the drivers?

If this is too low level for this forum, is there a better way to get in touch with the Wacom macOS Driver development team?

Tablet driver versions til 6.3.15 where still using old calls that were deprecated by Apple well before 6.3.15. For driver 6.3.16 developers decided to remove the old calls and move to Apple’s new event code. Since this is a rather complicated subject we advice to carefully read Apple’s CGEvent documentation on the Apple developer pages. - If you update your code, it should work fine with newer drivers.

I did some more research against an actual Wacom and pin pointed the problem. It appears that on Right button click (top pen button) the Wacom drivers are posting the right events but when starting to drag the pen with the type kCGEventRightMouseDragged the kCGMouseEventButtonNumber of the event is 0 which is Left mouse button. The kCGMouseEventButtonNumber in that case should be 1.

To sum up here's what Wacom drivers are posting on top pen button click & drag & release:

Another major issue with the current drivers (MacOSX - Driver 6.3.25-2) is that kCGEventOtherMouseDragged will never be posted by these drivers. Setting the top pen button to Middle Click or 4 \ 5 button will only trigger kCGEventOtherMouseDown and kCGEventOtherMouseUp events but never kCGEventOtherMouseDragged.

wacom1 - I have no idea if this will reach the developers and currently working around this but it would be nice to see this fixed.

Thanks.

Last edited by segevs on Tue 28. Nov 2017, 10:43, edited 1 time in total.

Thanks for the details. Passed that the developers and they are looking into it and planning updates to the event handling in the driver. However, they say that right click drag doesn’t work on the desktop even with an Apple mouse. Nevertheless we have to make sure that the driver matches what’s expected by other software.

Regarding the right click drag on the desktop, from my investigation it seems to work as it should and passes the right events with a regular mouse or a magic mouse (that is configured to use a right click in the mouse settings)