![]() |
libvirtualhid 16
Cross-platform C++ library for virtual HID devices.
|
#include <src/include/libvirtualhid/types.hpp>
Public Attributes | |
| MouseButton | button = MouseButton::left |
Button used by MouseEventKind::button. | |
| std::int32_t | height = 0 |
| Height of the absolute coordinate space. | |
| std::int32_t | high_resolution_scroll = 0 |
| High-resolution scroll distance. | |
| MouseEventKind | kind = MouseEventKind::relative_motion |
| Event category. | |
| bool | pressed = false |
| Whether the button is pressed. | |
| std::int32_t | width = 0 |
| Width of the absolute coordinate space. | |
| std::int32_t | x = 0 |
| Relative delta or absolute X coordinate. | |
| std::int32_t | y = 0 |
| Relative delta or absolute Y coordinate. | |
Mouse input event.