Tablet (Built-in Patch) in Controller, Device

This patch returns the current state of the tablet pointing device.

The pen position is expressed in units in the Quartz Composer coordinates system. The pen tilt on the X and Y axes is normalized to the [-1.0,1.0] range and the pen pressure is normalized to the [0,1] range.

Note that this patch does not read the tablet state directly but is dependent on the proper information being passed to the composition. This information may not always be available, depending on the environment in which Quartz Composer is running.

Input Attributes
None
Output Attributes
  • X - The horizontal position of the pen in units.
  • Y - The vertical position of the pen in units.
  • Tilt X - The scaled horizontal tilt value of the pen in the [-1.0,1.0] range.
  • Tilt Y - The scaled vertical tilt value of the pen in the [-1.0,1.0] range.
  • Pressure - The pressure applied to the pen in the [0,1] range.
  • Tip Button - The state of the pen tip button.
  • Lower Button - The state of the pen lower side button.
  • Upper Button - The state of the pen upper side button.
0 videos
0 comments