![]() |
libvirtualhid 15
Cross-platform C++ library for virtual HID devices.
|
Pen tablet tool position and analog state. More...
#include <src/include/libvirtualhid/types.hpp>
Public Attributes | |
| float | distance = -1.0F |
Normalized distance in the inclusive range [0.0, 1.0], or negative to leave distance unchanged. | |
| float | pressure = -1.0F |
Normalized pressure in the inclusive range [0.0, 1.0], or negative to leave pressure unchanged. | |
| float | tilt_x = 0.0F |
| X-axis tilt in degrees. | |
| float | tilt_y = 0.0F |
| Y-axis tilt in degrees. | |
| PenToolType | tool = PenToolType::pen |
| Tool category. | |
| float | x = 0.0F |
Normalized X coordinate in the inclusive range [0.0, 1.0]. | |
| float | y = 0.0F |
Normalized Y coordinate in the inclusive range [0.0, 1.0]. | |
Pen tablet tool position and analog state.