![]() |
libvirtualhid 26
Cross-platform C++ library for virtual HID devices.
|
Platform-neutral gamepad adapter helpers. More...
#include <cstddef>#include <cstdint>#include <memory>#include <optional>#include <libvirtualhid/runtime.hpp>#include <libvirtualhid/types.hpp>Go to the source code of this file.
Classes | |
| struct | lvh::GamepadAdapterCreationResult |
| Result returned by gamepad adapter creation. More... | |
| struct | lvh::GamepadProfileSupport |
| Profile support summary for portable gamepad adapter code. More... | |
| class | lvh::GamepadStateAdapter |
| Caches a full gamepad state and resubmits it after partial updates. More... | |
Namespaces | |
| namespace | lvh |
| Public libvirtualhid API namespace. | |
Functions | |
| GamepadProfileSupport | lvh::gamepad_profile_support (const DeviceProfile &profile) |
| Get portable support flags for a gamepad profile. | |
| bool | lvh::supports_gamepad_button (const DeviceProfile &profile, GamepadButton button) |
| Check whether a gamepad profile can expose a logical button. | |
| bool | lvh::supports_gamepad_output (const DeviceProfile &profile, GamepadOutputKind output_kind) |
| Check whether a gamepad profile can emit an output category. | |
Platform-neutral gamepad adapter helpers.