3#include <Core/Input/InputDevice.h>
4#include <Foundation/Math/Vec2.h>
65 static plInt32 s_iMouseIsOverWindowNumber;
70 bool m_bIsFocused =
true;
72 plTime m_LastMouseClick[3];
73 bool m_bMouseDown[3] = {
false,
false,
false};
Specifies how to restrict movement of the Operating System mouse.
Definition MouseKeyboard.h:8
Enum
Definition MouseKeyboard.h:10
@ ClipToWindow
Definition MouseKeyboard.h:12
@ NoClip
The mouse can move unrestricted and leave the application window.
Definition MouseKeyboard.h:11
@ ClipToWindowImmediate
The mouse gets restricted to the window area as soon as possible.
Definition MouseKeyboard.h:14
@ ClipToPosition
Definition MouseKeyboard.h:15
The time class encapsulates a double value storing the time in seconds.
Definition Time.h:12
PL_ALWAYS_INLINE static constexpr plTime MakeFromMilliseconds(double fMilliseconds)
Creates an instance of plTime that was initialized from milliseconds.
Definition Time.h:26