VGamepad PC
The Windows app for the virtual game controller.
Loading...
Searching...
No Matches
ThumbstickInput Struct Reference

#include <input_types.hpp>

Collaboration diagram for ThumbstickInput:
[legend]

Public Attributes

bool is_mouse_move = false
 
ButtonInput up {}
 
ButtonInput down {}
 
ButtonInput left {}
 
ButtonInput right {}
 

Detailed Description

A thumbstick has two axes (X and Y) Types of input:

  • The entire thumbstick can be mapped to mouse movement
  • Or the thumbstick directions can be mapped to keyboard keys/mouse clicks

Member Data Documentation

◆ down

ButtonInput ThumbstickInput::down {}

◆ is_mouse_move

bool ThumbstickInput::is_mouse_move = false

◆ left

ButtonInput ThumbstickInput::left {}

◆ right

ButtonInput ThumbstickInput::right {}

◆ up

ButtonInput ThumbstickInput::up {}

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