Mouse (Built-in Patch) in Controller, Device

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

The mouse position is expressed in units in the Quartz Composer coordinates system.

Note that this patch does not read the mouse 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
  • inputResetScroll
  • inputScrollFactor
Output Attributes
  • X Position - The horizontal position of the mouse in units.
  • Y Position - The vertical position of the mouse in units.
  • Left Button - The state of the mouse primary button.
  • Right Button - The state of the mouse secondary button.
  • Other Button - The state of the mouse third button.
  • X Scroll - The change in the scroll device in the X direction.
  • Y Scroll - The change in the scroll device in the Y direction.
  • Z Scroll - Typically zero.
0 videos
0 comments