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

Gamepad battery charge metadata. More...

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

Public Attributes

std::uint8_t percentage = 100
 Battery percentage in the inclusive range [0, 100].
 
GamepadBatteryState state = GamepadBatteryState::unknown
 Current battery state.
 

Detailed Description

Gamepad battery charge metadata.


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