ezEngine  Milestone 7
MouseKeyboard.h
1 #pragma once
2 
3 #include <Core/Input/InputDevice.h>
4 #include <Foundation/Math/Vec2.h>
5 
9 class EZ_CORE_DLL ezInputDeviceMouseKeyboard : public ezInputDevice
10 {
12 
13 public:
15  {
16  m_vMouseScale.Set(1.0f);
17  }
18 
20  virtual void SetShowMouseCursor(bool bShow) = 0;
21 
23  virtual bool GetShowMouseCursor() const = 0;
24 
26  virtual void SetMouseSpeed(const ezVec2& vScale) { m_vMouseScale = vScale; }
27 
29  ezVec2 GetMouseSpeed() const { return m_vMouseScale; }
30 
31 private:
32  ezVec2 m_vMouseScale;
33 };
34