RhythmGame 1.4.3
Loading...
Searching...
No Matches
Public Member Functions | Properties | Friends | List of all members
input::Gamepad Class Reference

#include <GamepadManager.h>

Public Member Functions

auto operator<=> (const Gamepad &gamepad) const
 
auto operator== (const Gamepad &gamepad) const -> bool
 

Properties

QString name
 
QString guid
 
int index {}
 The index of the gamepad. It will get incremented if two gamepads with the same guid are connected to the computer. Connect them in the same order to get the same index.
 

Friends

auto operator>> (QDataStream &stream, Gamepad &gamepad) -> QDataStream &
 
auto operator<< (QDataStream &stream, const Gamepad &gamepad) -> QDataStream &
 

Member Function Documentation

◆ operator<=>()

auto input::Gamepad::operator<=> ( const Gamepad &  gamepad) const
inline

◆ operator==()

auto input::Gamepad::operator== ( const Gamepad &  gamepad) const -> bool

Friends And Related Symbol Documentation

◆ operator<<

auto operator<< ( QDataStream &  stream,
const Gamepad &  gamepad 
) -> QDataStream&
friend

◆ operator>>

auto operator>> ( QDataStream &  stream,
Gamepad &  gamepad 
) -> QDataStream&
friend

Property Documentation

◆ guid

QString input::Gamepad::guid

◆ index

int input::Gamepad::index {}

The index of the gamepad. It will get incremented if two gamepads with the same guid are connected to the computer. Connect them in the same order to get the same index.

◆ name

QString input::Gamepad::name

The documentation for this class was generated from the following files: