Mouse CHOP
Summary
The Mouse CHOP outputs X and Y screen values for the mouse device and monitors the up/down state of the three mouse buttons.
When the Active flag is on, the Mouse X and Y positions are output through the channels named in the Position X and Y parameters and the button states are output through the channels named in the Left, Right and Middle Button parameters.
The mouse position ranges are -1 to +1 in X, and -.8 to +.8 in Y. 0, 0 is the center of the screen. The button values are 0 for Button Up and 1 for Button Down.
The Mouse CHOP and Keyboard CHOPs are sometimes connected to the Position and Active inputs respectively of the Record CHOP to enable the recording of channels.
Parameters - Control Page
Active - While On, the mouse movement will be output from and the CHOP will cook every frame. When set to Off it will not cook and the current mouse X or Y values will not be output. While Playing will capture mouse events only when the playbar is playing forward.
Output Coordinates - controls the range of the mouse Position X and Position Y.
- Normalized - x and y are -1 to 1.
- Normalized Aspect - normalized and adjusted to aspect ratio.
- Absolute - raw screen coordinates.
Position X - The name of the channel that records the horizontal movement of the mouse.
Position Y - The name of the channel that records the vertical movement of the mouse.
Left Button - The name of the channel that records the state of the left button.
Right Button - The name of the channel that records the state of the right button.
Middle Button - The name of the channel that records the state of the middle button.
Wheel - This channel goes up when the wheel is rolled away from the user and goes down when it is rolled the other way.
Wheel Increment - The amount that is added or subtracted to the current value of the Wheel channel when the wheel is moved.
Parameters - Channel Page
This sets the Sample Rate and the Extend Conditions.
Standard Options and Local Variables
None.
