ApolloInput Nova 0.2.0
Standalone virtual gamepad library
Loading...
Searching...
No Matches
apollo::input::TouchpadState Struct Reference

Optional touchpad report. More...

#include <gamepad.hpp>

Public Attributes

bool active = false
 Whether a finger is touching the pad.
std::uint16_t x = 0
 Touch X coordinate.
std::uint16_t y = 0
 Touch Y coordinate.

Detailed Description

Optional touchpad report.

Definition at line 149 of file gamepad.hpp.

Member Data Documentation

◆ active

bool apollo::input::TouchpadState::active = false

Whether a finger is touching the pad.

Definition at line 150 of file gamepad.hpp.

◆ x

std::uint16_t apollo::input::TouchpadState::x = 0

Touch X coordinate.

Definition at line 151 of file gamepad.hpp.

◆ y

std::uint16_t apollo::input::TouchpadState::y = 0

Touch Y coordinate.

Definition at line 152 of file gamepad.hpp.


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