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

Touchpad contact carried by a gamepad report. More...

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

Public Attributes

bool active = false
 Whether this contact is active.
 
std::uint8_t id = 0
 Consumer-stable contact identifier.
 
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].
 

Detailed Description

Touchpad contact carried by a gamepad report.


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