Tablet CHOP

From TouchDesigner 099 Wiki

Summary

The Tablet CHOP gets the Wacom tablet X and Y values, and also gets pen tip pressure, X tilt and Y tilt, and the various pen buttons. Two pens can be used to output one set of channels for each pen. The Tablet CHOP will initialize/install when the CHOP is created.

It supports the simultaneous use of two devices (Stylus Pen, Airbrush or 4D Mouse) on the same tablet, with the "1st Pen" folder controlling the parameters of the primary device (the first one activated), and the "2nd Pen" folder controlling the parameters of the other device.

Put a channel name in a parameter to create that channel.

The range of all axes is -1.0 to 1.0. The values of the Button parameters are 0 for Button Up and 1 for Button Down. All axis and button channels are active when the Active state is On.

In most parameter fields of this CHOP, if you put a channel name in the parameter, it will attempt to read that parameter and output the channel. Otherwise no channel is created.

For advice on setting up the tablet and tuning the sensitivity of the pen and tablet, please read the Wacom Intuos article.

PythonIcon.png tabletCHOP_Class

Parameters - 1st Pen Page

Axes sub-page

X Coordinate, Y Coordinate - The channel names for the X and Y coordinates of the pen in the range -1 to 1.

Pressure - The channel name for the Pressure applied to the pen on the tablet

X Tilt, Y Tilt - The channel name for the X Tilt and Y Tilt of the pen.

Thumb Wheel - The channel name for the position of the Thumb Wheel. This wheel is found only on the 4D Mouse.

Finger Wheel - The channel name for the position of the Finger Wheel. This wheel is found only on the Airbrush.

Rotation -

Buttons sub-page

Button 1 to 5 - The channel names for the states of the buttons 1 through 5 respectively.

Parameters - 2nd Pen Page

The second pen has the same parameters as the first pen, and the values are taken from the second device.

See Also

See also Wacom Intuos Tablet.