|
ApolloInput Nova 0.2.0
Standalone virtual gamepad library
|
Capabilities reported by a client controller. More...
#include <gamepad.hpp>
Public Attributes | |
| ControllerFamily | family = ControllerFamily::unknown |
| Client-reported controller family. | |
| bool | has_touchpad = false |
| Reports touchpad contacts. | |
| bool | has_motion = false |
| Reports accelerometer or gyroscope samples. | |
| bool | has_paddles = false |
| Reports rear paddle or grip buttons. | |
| bool | has_share = false |
| Reports a Share, Capture, or misc button. | |
| std::uint8_t | misc_buttons = 0 |
| Number of extra misc/share buttons reported by the client. | |
Capabilities reported by a client controller.
These flags describe the physical controller on the client side. The host combines them with recommended_profile() and the selected backend to decide which virtual device can represent the most features.
Definition at line 53 of file gamepad.hpp.
| ControllerFamily apollo::input::ControllerDescription::family = ControllerFamily::unknown |
Client-reported controller family.
Definition at line 54 of file gamepad.hpp.
| bool apollo::input::ControllerDescription::has_motion = false |
Reports accelerometer or gyroscope samples.
Definition at line 56 of file gamepad.hpp.
| bool apollo::input::ControllerDescription::has_paddles = false |
Reports rear paddle or grip buttons.
Definition at line 57 of file gamepad.hpp.
| bool apollo::input::ControllerDescription::has_share = false |
Reports a Share, Capture, or misc button.
Definition at line 58 of file gamepad.hpp.
| bool apollo::input::ControllerDescription::has_touchpad = false |
Reports touchpad contacts.
Definition at line 55 of file gamepad.hpp.
| std::uint8_t apollo::input::ControllerDescription::misc_buttons = 0 |
Number of extra misc/share buttons reported by the client.
Definition at line 59 of file gamepad.hpp.