11 #include "input/mouse/MouseTypes.h" 12 #include "input/mouse/interfaces/IMouseDriverHandler.h" 23 class IMouseInputHandler;
38 bool OnPosition(
int x,
int y)
override;
39 bool OnButtonPress(
BUTTON_ID button)
override;
40 void OnButtonRelease(
BUTTON_ID button)
override;
44 static POINTER_DIRECTION GetPointerDirection(
int x,
int y);
45 static POINTER_DIRECTION GetOrthogonalDirectionCCW(POINTER_DIRECTION direction);
47 static void GetRotation(POINTER_DIRECTION source,
48 POINTER_DIRECTION target,
49 int (&rotation)[2][2]);
50 static void GetRotation(
int deg,
int (&rotation)[2][2]);
52 static void GetReflectionCCW(POINTER_DIRECTION source,
53 POINTER_DIRECTION target,
54 int (&reflection)[2][2]);
55 static void GetReflection(
int deg,
int (&reflection)[2][2]);
62 bool m_bHasPosition =
false;
BUTTON_ID
Buttons on a mouse.
Definition: MouseTypes.h:26
Definition: AudioDecoder.h:18
Interface for handling mouse driver events.
Definition: IMouseDriverHandler.h:22