modulii

modulii

Touch Pad icon

Touch Pad

A versatile control that can track multiple touch points


Settings

SettingDescription
Number of RowsFor display purposes only. The number of rows to divide the touchpad into.
Number of ColumnsFor display purposes only. The number of columns to divide the touchpad into.
SmoothingHow much the touchpad "smooths out" your movements to avoid sudden jumps in touch speed value.
Visual FeedbackHow prominent the touch indicators are on the touchpad surface. Only affects appearance, not functionality.
Sticky ThresholdHow long you have to hold your touch in place before it becomes "sticky" and remains active even if you lift your finger.
Resume DistanceThe amount of leeway you get when resuming a sticky touch. If your finger is outside this distance from the sticky touch point, it will start a new touch instead of resuming the old one.
Show PaletteWhen enabled, shows a button that allows you to select a color for your touches. Outgoing messages can include this info if desired, so your receiving application can respond accordingly to different colors. You can also enable or disable "sticky" touches using the palette.
Show EraserWhen enabled, shows a button that allows you to quickly clear all touches from the touchpad.

Variables

The following variables can be used when configuring outputs for this control:

VariableDescription
XThe relative x position of the touch event, from 0 to 1
YThe relative y position of the touch event, from 0 to 1
X (pixels)The x position of the touch event, in pixels
Y (pixels)The y position of the touch event, in pixels
SpeedThe speed of the touch, in pixels per second
PressureThe pressure applied to the touchpad. Only relevant if you're using a pressure-sensitive input device or stylus.
Pressure ChangeThe change in pressure from the time the touchpad was pressed. Only relevant if you're using a pressure-sensitive input device or stylus.
TiltThe tilt of the stylus or input device.
OrientationThe orientation of the stylus or input device.
Angle ChangeThe change in angle of the stylus or input device from the moment the touchpad was pressed.
Interaction TypeIndicates whether the interaction was performed via touch, mouse, stylus, etc. 0=touch, 1=stylus, 2=inverted stylus, 3=mouse, 4=trackpad
Touch IndexThe number of tracked presses on the touchpad
Color IndexA number (0-6) indicating the color of the touch

OSC Messages

This control responds to the following OSC messages:

MessageDescription
<address> position <x> <y> <width> <height>Sets the control's position. Coordinates are specified in pixels.
<address> numColumns <count>Sets the number of grid columns (maximum 16)
<address> numRows <count>Sets the number of grid rows (maximum 16)
<address> smoothing <value>Sets the smoothing parameter
<address> visualFeedback <value>Sets the visual feedback parameter
<address> stickyThresholdSeconds <value>Sets the sticky touch threshold parameter
<address> stickyTouchResumeDistance <value>Sets the sticky touch resume distance parameter
<address> showPalette <0|1>Show or hide the palette button
<address> showEraser <0|1>Show or hide the eraser button
<address> clearTouchesClear all touches on the touchpad