Stylus
Stylus source parameters.
Stylus parameters from stylus position , pressure , tilt , and buttons.
We are using OpenTabletDriver for the stylus detection. It should be work for most Pen Tablet and Pen Display on USB connection, Bluetooth version are not available!
You can check the supported device list on here!
Status and contact
| Parameter | Range | Default | Detail |
|---|---|---|---|
StylusInRange | 0 ~ 1 | 0 | Pen is in tablet range |
StylusHoverDistance | 0 ~ 1 | 0 | Hover Distance |
StylusTouching | 0 ~ 1 | 0 | Pen is contact with tablet |
StylusPressure | 0 ~ 1 | 0 | Pen Pressure |
Position and tilt
| Parameter | Range | Default | Detail |
|---|---|---|---|
StylusX | -1 ~ 1 | 0 | Pen X position |
StylusY | -1 ~ 1 | 0 | Pen Y position |
StylusTiltX | -1 ~ 1 | 0 | Pen tilt X |
StylusTiltY | -1 ~ 1 | 0 | Pen tilt Y |
Buttons
| Parameter | Range | Default | Detail |
|---|---|---|---|
StylusButton1 | 0 ~ 1 | 0 | First pen button |
StylusButton2 | 0 ~ 1 | 0 | Second pen button |
StylusButton3 | 0 ~ 1 | 0 | Third pen button |
StylusEraser | 0 ~ 1 | 0 | Eraser tool |