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

#include <Event.hh>

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

Public Member Functions

unsigned getButton () 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
 

Protected Member Functions

 JoystickButtonEvent (const SDL_Event &e)
 
- Protected Member Functions inherited from openmsx::JoystickEvent
 JoystickEvent (const SDL_Event &e)
 

Additional Inherited Members

- Protected Attributes inherited from openmsx::SdlEvent
SDL_Event evt
 

Detailed Description

Definition at line 169 of file Event.hh.

Constructor & Destructor Documentation

◆ JoystickButtonEvent()

openmsx::JoystickButtonEvent::JoystickButtonEvent ( const SDL_Event &  e)
inlineprotected

Definition at line 175 of file Event.hh.

Member Function Documentation

◆ getButton()

unsigned openmsx::JoystickButtonEvent::getButton ( ) const
inline

Definition at line 172 of file Event.hh.

References openmsx::SdlEvent::evt.


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