Created attachment 414884 [details] Sample paint app that uses pressure, device type and tilt to control brush parameters.
So what does the "wheel" mean exactly in this context. The problem is that wheel has other meaning in DOM Events (mousewheel). I wonder if the similar terminology as what InkML has could be used here.
The "wheel" is apparently a term only used in Linux Wacom drivers. Looked at the Linux, Windows and Mac tablet event documentation, and it's a bit of a mess. On Linux http://linuxwacom.sourceforge.net/index.php/appdev : XTILT = pen x-tilt, puck mouse rotation, tablet left menu strip YTILT = pen y-tilt, puck mouse wheel position, tablet right menu strip WHEEL = airbrush control wheel position, art pen rotation, bamboo touch ring On OS X : - http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/EventOverview/HandlingTabletEvents/HandlingTabletEvents.html - http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/Reference/Reference.html tilt = NSPoint with x-tilt and y-tilt puck mouse wheel = absoluteZ rotation = rotation airbrush wheel = tangentialPressure [-1.0, 1.0] On Windows: - http://www.wacomeng.com/devsupport/ibmpc/gddevpc.html rotation = pkOrientation.orTwist [0, 3599] mouse wheel = pkZ [-1023, 1023] airbrush wheel = pkTangentPressure [0, 1023] The InkML spec uses rotation for rotation (well, yes). So, yes, wheel would be better renamed to rotation. The overlap in Linux event semantics is unfortunate. So on Linux, if device type is cursor, map XTILT and YTILT to other event fields. That would replace mozWheel with mozRotation, which would track puck rotation, art pen rotation and airbrush wheel. To keep the mouse wheel value, it could be mapped to Wheel or TiltZ or whatever.
Created attachment 414927 [details] [diff] [review] Updated patch, replaces mozWheel with mozRotation, adds mozTiltZ This patch uses mozRotation for WHEEL events and remaps the puck mouse XTILT(=rotation) to mozRotation and YTILT(=shuttle wheel position) to mozTiltZ. Also uses tiltx/y/z instead of x/y/ztilt as C++ property names.
Created attachment 414929 [details] [diff] [review] Updated patch, replaces mozWheel with mozRotation, adds mozTiltZ [bugfix] bugfix for messed up the puck rotation normalization This patch uses mozRotation for WHEEL events and remaps the puck mouse XTILT(=rotation) to mozRotation and YTILT(=shuttle wheel position) to mozTiltZ. Also uses tiltx/y/z instead of x/y/ztilt as C++ property names.
Would this be a strong fingerprinting tool?