openMSX
Public Member Functions | List of all members
openmsx::JoystickHatEvent Class Referencefinal

#include <Event.hh>

Inheritance diagram for openmsx::JoystickHatEvent:
Inheritance graph
[legend]
Collaboration diagram for openmsx::JoystickHatEvent:
Collaboration graph
[legend]

Public Member Functions

 JoystickHatEvent (const SDL_Event &e)
 
uint8_t getHat () const
 
uint8_t getValue () const
 
- Public Member Functions inherited from openmsx::JoystickEvent
JoystickId getJoystick () const
 
- Public Member Functions inherited from openmsx::SdlEvent
 SdlEvent (const SDL_Event &e)
 
const SDL_Event & getSdlEvent () const
 
const SDL_CommonEvent & getCommonSdlEvent () const
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::JoystickEvent
 JoystickEvent (const SDL_Event &e)
 
- Protected Attributes inherited from openmsx::SdlEvent
SDL_Event evt
 

Detailed Description

Definition at line 206 of file Event.hh.

Constructor & Destructor Documentation

◆ JoystickHatEvent()

openmsx::JoystickHatEvent::JoystickHatEvent ( const SDL_Event &  e)
inline

Definition at line 209 of file Event.hh.

Member Function Documentation

◆ getHat()

uint8_t openmsx::JoystickHatEvent::getHat ( ) const
inline

Definition at line 212 of file Event.hh.

References openmsx::SdlEvent::evt.

◆ getValue()

uint8_t openmsx::JoystickHatEvent::getValue ( ) const
inline

Definition at line 213 of file Event.hh.

References openmsx::SdlEvent::evt.


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