I was wondering if it is possible in Cocoa/Carbon to detect whether a key combination (e. g. Ctrl + Z
) comes from a Wacom button or the keyboard itself.
Thanks best xonic
I was wondering if it is possible in Cocoa/Carbon to detect whether a key combination (e. g. Ctrl + Z
) comes from a Wacom button or the keyboard itself.
Thanks best xonic
I can only assume a Wacom tablet's driver is faking keyboard events that are bound to specific buttons. If this is the case, I don't think you'll be able to distinguish them as -pointingDeviceID, -tabletID, and friends are only valid for mouse events (which a keyboard event - faked or real - is not).
For the "Express Keys", Wacom provides custom events with the driver version 6.1+
From the Wacom developer docs:
Most of this only makes sense in context of the documentation page where lots of C structs and helper functions are defined for both Carbon and Cocoa. (This particular part in the docs is pretty far down.)