openMSX
|
#include <InputEventGenerator.hh>
Public Member Functions | |
InputEventGenerator (CommandController &commandController, EventDistributor &eventDistributor, GlobalSettings &globalSettings) | |
InputEventGenerator (const InputEventGenerator &)=delete | |
InputEventGenerator (InputEventGenerator &&)=delete | |
InputEventGenerator & | operator= (const InputEventGenerator &)=delete |
InputEventGenerator & | operator= (InputEventGenerator &&)=delete |
~InputEventGenerator () | |
void | wait () |
Wait for event(s) and handle it. | |
BooleanSetting & | getGrabInput () |
Input Grab on or off. | |
void | updateGrab (bool grab) |
Must be called when 'grabinput' or 'fullscreen' setting changes. | |
void | poll () |
JoystickManager & | getJoystickManager () |
Definition at line 18 of file InputEventGenerator.hh.
openmsx::InputEventGenerator::InputEventGenerator | ( | CommandController & | commandController, |
EventDistributor & | eventDistributor, | ||
GlobalSettings & | globalSettings | ||
) |
Definition at line 21 of file InputEventGenerator.cc.
References openmsx::BooleanSetting::getBoolean(), openmsx::EventDistributor::registerEventListener(), and openmsx::WINDOW.
|
delete |
|
delete |
openmsx::InputEventGenerator::~InputEventGenerator | ( | ) |
Definition at line 37 of file InputEventGenerator.cc.
References openmsx::EventDistributor::unregisterEventListener(), and openmsx::WINDOW.
|
inline |
Input Grab on or off.
Definition at line 36 of file InputEventGenerator.hh.
Referenced by openmsx::VisibleSurface::VisibleSurface(), and openmsx::VisibleSurface::~VisibleSurface().
|
inline |
Definition at line 42 of file InputEventGenerator.hh.
|
delete |
|
delete |
void openmsx::InputEventGenerator::poll | ( | ) |
Definition at line 54 of file InputEventGenerator.cc.
References openmsx::EventDistributor::distributeEvent(), and utf8::unchecked::next().
Referenced by openmsx::EventDistributor::deliverEvents(), and wait().
void openmsx::InputEventGenerator::updateGrab | ( | bool | grab | ) |
Must be called when 'grabinput' or 'fullscreen' setting changes.
Definition at line 406 of file InputEventGenerator.cc.
Referenced by openmsx::VisibleSurface::executeRT().
void openmsx::InputEventGenerator::wait | ( | ) |
Wait for event(s) and handle it.
This method should be called from the main thread.
Definition at line 42 of file InputEventGenerator.cc.
References poll().