LeviLamina
Loading...
Searching...
No Matches
MouseAction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
6public:
7 // MouseAction inner types define
8 enum : schar {
9 ActionMove = 0,
10 ActionLeft = 1,
11 ActionRight = 2,
12 ActionMiddle = 3,
13 ActionWheel = 4,
14 ActionX1 = 5,
15 ActionX2 = 6,
16 ActionMoveRelative = 7,
17 DataUp = 0,
18 DataDown = 1,
19 };
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<2, 2, short> x;
25 ::ll::TypedStorage<2, 2, short> y;
26 ::ll::TypedStorage<2, 2, short> dx;
27 ::ll::TypedStorage<2, 2, short> dy;
28 ::ll::TypedStorage<1, 1, char> action;
29 ::ll::TypedStorage<1, 1, schar> data;
30 ::ll::TypedStorage<4, 4, int> pointerId;
31 ::ll::TypedStorage<1, 1, bool> forceMotionlessPointer;
32 // NOLINTEND
33};
Definition MouseAction.h:5