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

Pixel viewport used by backends that need screen-local pointer coordinates. More...

#include <src/include/libvirtualhid/types.hpp>

Public Attributes

std::int32_t height = 0
 Viewport height in pixels, or 0 to use the platform default.
 
std::int32_t offset_x = 0
 Horizontal viewport offset in pixels.
 
std::int32_t offset_y = 0
 Vertical viewport offset in pixels.
 
std::int32_t width = 0
 Viewport width in pixels, or 0 to use the platform default.
 

Detailed Description

Pixel viewport used by backends that need screen-local pointer coordinates.


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