forked from team-unstablers/ulalaca-xrdp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
XrdpEvent.hpp
45 lines (34 loc) · 912 Bytes
/
XrdpEvent.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// Created by Gyuhwan Park on 2022/04/30.
//
#ifndef ULALACA_XRDPEVENT_HPP
#define ULALACA_XRDPEVENT_HPP
struct XrdpEvent {
public:
enum Type {
KEY_DOWN = 15,
KEY_UP = 16,
KEY_SYNCHRONIZE_LOCK = 17,
MOUSE_MOVE = 100,
MOUSE_BUTTON_LEFT_UP = 101,
MOUSE_BUTTON_LEFT_DOWN = 102,
MOUSE_BUTTON_RIGHT_UP = 103,
MOUSE_BUTTON_RIGHT_DOWN = 104,
MOUSE_BUTTON_MIDDLE_UP = 105,
MOUSE_BUTTON_MIDDLE_DOWN = 106,
MOUSE_WHEEL_UP = 107,
MOUSE_UNKNOWN_1 = 108,
MOUSE_WHEEL_DOWN = 109,
MOUSE_UNKNOWN_2 = 110,
INVALIDATE_REQUEST = 200,
CHANNEL_EVENT = 0x5555
};
bool isKeyEvent() const;
bool isMouseEvent() const;
Type type;
long param1;
long param2;
long param3;
long param4;
};
#endif //ULALACA_XRDPEVENT_HPP