OGRE  13.6
Object-Oriented Graphics Rendering Engine
OgreBites::InputListener Struct Reference

the return values of the callbacks are ignored by ApplicationContext however they can be used to control event propagation in a hierarchy. More...

#include <OgreInput.h>

+ Inheritance diagram for OgreBites::InputListener:

Public Member Functions

virtual ~InputListener ()
 
virtual bool axisMoved (const AxisEvent &evt)
 
virtual bool buttonPressed (const ButtonEvent &evt)
 
virtual bool buttonReleased (const ButtonEvent &evt)
 
virtual void frameRendered (const Ogre::FrameEvent &evt)
 
virtual bool keyPressed (const KeyboardEvent &evt)
 
virtual bool keyReleased (const KeyboardEvent &evt)
 
virtual bool mouseMoved (const MouseMotionEvent &evt)
 
virtual bool mousePressed (const MouseButtonEvent &evt)
 
virtual bool mouseReleased (const MouseButtonEvent &evt)
 
virtual bool mouseWheelRolled (const MouseWheelEvent &evt)
 
virtual bool textInput (const TextInputEvent &evt)
 
virtual bool touchMoved (const TouchFingerEvent &evt)
 
virtual bool touchPressed (const TouchFingerEvent &evt)
 
virtual bool touchReleased (const TouchFingerEvent &evt)
 

Detailed Description

the return values of the callbacks are ignored by ApplicationContext however they can be used to control event propagation in a hierarchy.

The convention is to return true if the event was handled and false if it should be further propagated.

Constructor & Destructor Documentation

◆ ~InputListener()

virtual OgreBites::InputListener::~InputListener ( )
inlinevirtual

Member Function Documentation

◆ frameRendered()

virtual void OgreBites::InputListener::frameRendered ( const Ogre::FrameEvent evt)
inlinevirtual

◆ keyPressed()

virtual bool OgreBites::InputListener::keyPressed ( const KeyboardEvent evt)
inlinevirtual

◆ keyReleased()

virtual bool OgreBites::InputListener::keyReleased ( const KeyboardEvent evt)
inlinevirtual

◆ touchMoved()

virtual bool OgreBites::InputListener::touchMoved ( const TouchFingerEvent evt)
inlinevirtual

Reimplemented in OgreBites::InputListenerChain.

◆ touchPressed()

virtual bool OgreBites::InputListener::touchPressed ( const TouchFingerEvent evt)
inlinevirtual

Reimplemented in OgreBites::InputListenerChain.

◆ touchReleased()

virtual bool OgreBites::InputListener::touchReleased ( const TouchFingerEvent evt)
inlinevirtual

Reimplemented in OgreBites::InputListenerChain.

◆ mouseMoved()

virtual bool OgreBites::InputListener::mouseMoved ( const MouseMotionEvent evt)
inlinevirtual

◆ mouseWheelRolled()

virtual bool OgreBites::InputListener::mouseWheelRolled ( const MouseWheelEvent evt)
inlinevirtual

◆ mousePressed()

virtual bool OgreBites::InputListener::mousePressed ( const MouseButtonEvent evt)
inlinevirtual

◆ mouseReleased()

virtual bool OgreBites::InputListener::mouseReleased ( const MouseButtonEvent evt)
inlinevirtual

◆ textInput()

virtual bool OgreBites::InputListener::textInput ( const TextInputEvent evt)
inlinevirtual

◆ axisMoved()

virtual bool OgreBites::InputListener::axisMoved ( const AxisEvent evt)
inlinevirtual

◆ buttonPressed()

virtual bool OgreBites::InputListener::buttonPressed ( const ButtonEvent evt)
inlinevirtual

Reimplemented in OgreBites::ImGuiInputListener.

◆ buttonReleased()

virtual bool OgreBites::InputListener::buttonReleased ( const ButtonEvent evt)
inlinevirtual

Reimplemented in OgreBites::ImGuiInputListener.


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