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

Normalized gamepad output event delivered to the consumer. More...

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

Public Attributes

std::uint8_t adaptive_trigger_flags = 0
 Adaptive trigger event flags from a profile-specific output report.
 
std::uint8_t blue = 0
 Blue LED channel value.
 
std::uint8_t green = 0
 Green LED channel value.
 
std::uint16_t high_frequency_rumble = 0
 High-frequency rumble motor strength.
 
GamepadOutputKind kind = GamepadOutputKind::raw_report
 Output event category.
 
std::array< std::uint8_t, 10 > left_trigger_effect {}
 Profile-specific left trigger effect payload.
 
std::uint8_t left_trigger_effect_type = 0
 Profile-specific left trigger effect type.
 
std::uint16_t low_frequency_rumble = 0
 Low-frequency rumble motor strength.
 
std::vector< std::uint8_t > raw_report
 Raw output report payload.
 
std::uint8_t red = 0
 Red LED channel value.
 
std::array< std::uint8_t, 10 > right_trigger_effect {}
 Profile-specific right trigger effect payload.
 
std::uint8_t right_trigger_effect_type = 0
 Profile-specific right trigger effect type.
 

Detailed Description

Normalized gamepad output event delivered to the consumer.


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