openMSX
Public Member Functions | List of all members
openmsx::JoystickId Class Reference

#include <JoystickId.hh>

Public Member Functions

 JoystickId (unsigned id_)
 
unsigned raw () const
 
bool operator== (const JoystickId &) const =default
 
std::string str () const
 

Detailed Description

Definition at line 11 of file JoystickId.hh.

Constructor & Destructor Documentation

◆ JoystickId()

openmsx::JoystickId::JoystickId ( unsigned  id_)
inlineexplicit

Definition at line 13 of file JoystickId.hh.

Member Function Documentation

◆ operator==()

bool openmsx::JoystickId::operator== ( const JoystickId ) const
default

◆ raw()

unsigned openmsx::JoystickId::raw ( ) const
inline

◆ str()

std::string openmsx::JoystickId::str ( ) const
inline

Definition at line 16 of file JoystickId.hh.

References strCat().

Referenced by openmsx::JoyMega::getDefaultConfig(), and openmsx::MSXJoystick::getDefaultConfig().


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