- pen_state <-
pressure: num
- Pressure of the tip, from 0 to 1.
- pen_state <-
xtilt: num
- Horizontal tilt, from -90 to 90 degrees. Positive tilts to the right.
- pen_state <-
ytilt: num
- Vertical tilt, from -90 to 90 degrees. Positive tilts down.
- pen_state <-
hover_distance: num
- Distance of the tip to the surface, from 0 to 1.
- pen_state <-
barrel_rotation: num
- Rotation of the barrel, from -180 to 180 degrees, clockwise. 0 is facing
up.
- pen_state <-
slider: num
- Position of the finger wheel or slider of, e
.g.,
an airbrush pen, from 0 to 1.
- pen_state <-
tangential_pressure: num
- Pressure from squeezing the barrel, from 0 to 1.
- pen_state <-
eraser: bool
- @on if the
eraser end of the pen is used.
- pen_state <-
barrel_buttons: int
- Bit mask of the barrel buttons that are down. 1 is the first button, 2
the second, etc.