libvirtualhid 19
Cross-platform C++ library for virtual HID devices.
lvh::MouseEvent Struct Reference

Mouse input event. More...

#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.
 

Detailed Description

Mouse input event.


The documentation for this struct was generated from the following file: