![]() |
libvirtualhid 18
Cross-platform C++ library for virtual HID devices.
|
Core public types for libvirtualhid. More...
#include <array>#include <cstddef>#include <cstdint>#include <functional>#include <optional>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | lvh::BackendCapabilities |
| Feature set exposed by the selected backend. More... | |
| class | lvh::ButtonSet |
| Compact set of pressed gamepad buttons. More... | |
| struct | lvh::CreateGamepadOptions |
| Full gamepad creation request. More... | |
| struct | lvh::CreateKeyboardOptions |
| Full keyboard creation request. More... | |
| struct | lvh::CreateMouseOptions |
| Full mouse creation request. More... | |
| struct | lvh::CreatePenTabletOptions |
| Full pen tablet creation request. More... | |
| struct | lvh::CreateTouchscreenOptions |
| Full touchscreen creation request. More... | |
| struct | lvh::CreateTrackpadOptions |
| Full trackpad creation request. More... | |
| struct | lvh::DeviceNode |
| Platform-visible node or path associated with a virtual device. More... | |
| struct | lvh::DeviceProfile |
| Descriptor and identity data used to create a virtual device. More... | |
| struct | lvh::GamepadBattery |
| Gamepad battery charge metadata. More... | |
| struct | lvh::GamepadMetadata |
| Consumer-provided metadata for a gamepad device. More... | |
| struct | lvh::GamepadOutput |
| Normalized gamepad output event delivered to the consumer. More... | |
| struct | lvh::GamepadProfileCapabilities |
| Optional behavior advertised by a gamepad profile. More... | |
| struct | lvh::GamepadState |
| Common gamepad input state accepted by libvirtualhid. More... | |
| struct | lvh::GamepadTouchContact |
| Touchpad contact carried by a gamepad report. More... | |
| struct | lvh::KeyboardEvent |
| Keyboard key transition. More... | |
| struct | lvh::KeyboardTextEvent |
| UTF-8 text input request. More... | |
| struct | lvh::MouseEvent |
| Mouse input event. More... | |
| class | lvh::OperationStatus |
| Result status with an error category and human-readable message. More... | |
| struct | lvh::PenToolState |
| Pen tablet tool position and analog state. More... | |
| struct | lvh::RuntimeOptions |
| Runtime creation options. More... | |
| struct | lvh::Stick |
| Normalized two-axis stick state. More... | |
| struct | lvh::TouchContact |
| Touch contact event for touchscreen and trackpad devices. More... | |
| struct | lvh::Vector3 |
| Normalized three-axis sensor state. More... | |
Namespaces | |
| namespace | lvh |
| Public libvirtualhid API namespace. | |
Typedefs | |
| using | lvh::DeviceId = std::uint64_t |
| Stable identifier assigned to a virtual device instance. | |
| using | lvh::KeyboardKeyCode = std::uint16_t |
| Keyboard key code accepted by the keyboard event model. | |
| using | lvh::OutputCallback = std::function<void(const GamepadOutput &)> |
| Callback invoked when a gamepad receives output from the backend. | |
Core public types for libvirtualhid.