openMSX
|
#include <InputEvents.hh>
Public Member Functions | |
JoystickButtonDownEvent (unsigned joystick, unsigned button) | |
TclObject | toTclList () const override |
Similar to toString(), but retains the structure of the event. More... | |
![]() | |
unsigned | getButton () const |
![]() | |
unsigned | getJoystick () const |
![]() | |
uint64_t | getRealTime () const |
Query creation time. More... | |
![]() | |
Event (const Event &)=delete | |
Event & | operator= (const Event &)=delete |
EventType | getType () const |
std::string | toString () const |
Get a string representation of this event. More... | |
bool | operator< (const Event &other) const |
bool | operator> (const Event &other) const |
bool | operator<= (const Event &other) const |
bool | operator>= (const Event &other) const |
bool | operator== (const Event &other) const |
bool | operator!= (const Event &other) const |
virtual bool | isRepeatStopper (const Event &) const |
Should 'bind -repeat' be stopped by 'other' event. More... | |
virtual bool | matches (const Event &other) const |
Does this event 'match' the given event. More... | |
Additional Inherited Members | |
![]() | |
JoystickButtonEvent (EventType type, unsigned joystick, unsigned button) | |
~JoystickButtonEvent ()=default | |
TclObject | toTclHelper (std::string_view direction) const |
![]() | |
JoystickEvent (EventType type, unsigned joystick) | |
~JoystickEvent ()=default | |
TclObject | toTclHelper () const |
![]() | |
TimedEvent (EventType type) | |
~TimedEvent ()=default | |
![]() | |
Event (EventType type_) | |
~Event ()=default | |
Definition at line 175 of file InputEvents.hh.
openmsx::JoystickButtonDownEvent::JoystickButtonDownEvent | ( | unsigned | joystick, |
unsigned | button | ||
) |
Definition at line 206 of file InputEvents.cc.
|
overridevirtual |
Similar to toString(), but retains the structure of the event.
Implements openmsx::Event.
Definition at line 211 of file InputEvents.cc.
References openmsx::JoystickEvent::toTclHelper().