ezEngine  Milestone 7
ezInputDeviceMouseKeyboard Class Referenceabstract

This is the base class for all input devices that handle mouse and keyboard input. More...

#include <MouseKeyboard.h>

Inheritance diagram for ezInputDeviceMouseKeyboard:

Public Member Functions

virtual void SetShowMouseCursor (bool bShow)=0
 Shows or hides the mouse cursor inside the application window.
 
virtual bool GetShowMouseCursor () const =0
 Returns whether the mouse cursor is shown.
 
virtual void SetMouseSpeed (const ezVec2 &vScale)
 Sets the scaling factor that is applied on all (relative) mouse input.
 
ezVec2 GetMouseSpeed () const
 Returns the scaling factor that is applied on all (relative) mouse input.
 
- Public Member Functions inherited from ezInputDevice
 ezInputDevice ()
 Default Constructor.
 

Private Member Functions

 EZ_ADD_DYNAMIC_REFLECTION (ezInputDeviceMouseKeyboard)
 

Private Attributes

ezVec2 m_vMouseScale
 

Additional Inherited Members

- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 
- Static Protected Member Functions inherited from ezInputDevice
static void RegisterInputSlot (const char *szName, const char *szDefaultDisplayName, ezBitflags< ezInputSlotFlags > SlotFlags)
 Calls RegisterInputSlot() on the ezInputManager and passes the parameters through.
 
- Protected Attributes inherited from ezInputDevice
ezMap< ezString, float > m_InputSlotValues
 Stores all the values for all input slots that this device handles. More...
 
ezUInt32 m_LastCharacter
 If this input device type handles character input, it should write the last typed character into this variable. The ezInputManager calls RetrieveLastCharacter() to query what the user typed last.
 

Detailed Description

This is the base class for all input devices that handle mouse and keyboard input.

This class is derived from ezInputDevice but adds interface functions to handle mouse and keyboard input.


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