ScummVM API documentation
Ultima::Shared::InputTranslator Class Reference

Public Member Functions

 InputTranslator (InputHandler *inputHandler)
 
void mouseMove (int special, const Point &pt)
 
void mouseDrag (int special, const Point &pt)
 
void leftButtonDown (int special, const Point &pt)
 
void leftButtonUp (int special, const Point &pt)
 
void leftButtonDoubleClick (int special, const Point &pt)
 
void middleButtonDown (int special, const Point &pt)
 
void middleButtonUp (int special, const Point &pt)
 
void middleButtonDoubleClick (int special, const Point &pt)
 
void rightButtonDown (int special, const Point &pt)
 
void rightButtonUp (int special, const Point &pt)
 
void mouseWheel (bool wheelUp, const Point &pt)
 
void rightButtonDoubleClick (int special, const Point &pt)
 
void keyDown (const Common::KeyState &keyState)
 
bool isMousePressed () const
 

Public Attributes

InputHandler_inputHandler
 

Member Function Documentation

◆ isMousePressed()

bool Ultima::Shared::InputTranslator::isMousePressed ( ) const

Returns true if any mouse button is currently pressed


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