Classes | Public Member Functions | List of all members
openmsx::InputEventGenerator Class Referencefinal

#include <InputEventGenerator.hh>

Inheritance diagram for openmsx::InputEventGenerator:
Inheritance graph
Collaboration diagram for openmsx::InputEventGenerator:
Collaboration graph

Public Member Functions

 InputEventGenerator (const InputEventGenerator &)=delete
InputEventGeneratoroperator= (const InputEventGenerator &)=delete
 InputEventGenerator (CommandController &commandController, EventDistributor &eventDistributor, GlobalSettings &globalSettings)
 ~InputEventGenerator ()
void wait ()
 Wait for event(s) and handle it.
BooleanSettinggetGrabInput ()
 Input Grab on or off.
void updateGrab (bool grab)
 Must be called when 'grabinput' or 'fullscreen' setting changes.
void poll ()
JoystickManagergetJoystickManager ()

Detailed Description

Definition at line 18 of file InputEventGenerator.hh.

Constructor & Destructor Documentation

◆ InputEventGenerator() [1/2]

openmsx::InputEventGenerator::InputEventGenerator ( const InputEventGenerator )

◆ InputEventGenerator() [2/2]

openmsx::InputEventGenerator::InputEventGenerator ( CommandController commandController,
EventDistributor eventDistributor,
GlobalSettings globalSettings 

◆ ~InputEventGenerator()

openmsx::InputEventGenerator::~InputEventGenerator ( )

Member Function Documentation

◆ getGrabInput()

BooleanSetting & openmsx::InputEventGenerator::getGrabInput ( )

Input Grab on or off.

Definition at line 35 of file InputEventGenerator.hh.

Referenced by openmsx::VisibleSurface::VisibleSurface(), and openmsx::VisibleSurface::~VisibleSurface().

◆ getJoystickManager()

JoystickManager & openmsx::InputEventGenerator::getJoystickManager ( )

Definition at line 41 of file InputEventGenerator.hh.

◆ operator=()

InputEventGenerator & openmsx::InputEventGenerator::operator= ( const InputEventGenerator )

◆ poll()

void openmsx::InputEventGenerator::poll ( )

◆ updateGrab()

void openmsx::InputEventGenerator::updateGrab ( bool  grab)

Must be called when 'grabinput' or 'fullscreen' setting changes.

Definition at line 402 of file

Referenced by openmsx::VisibleSurface::executeRT().

◆ wait()

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

References poll().

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