Changeset View
Changeset View
Standalone View
Standalone View
pointer_input.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | |||||
52 | class DecoratedClientImpl; | 52 | class DecoratedClientImpl; | ||
53 | } | 53 | } | ||
54 | 54 | | |||
55 | namespace LibInput | 55 | namespace LibInput | ||
56 | { | 56 | { | ||
57 | class Device; | 57 | class Device; | ||
58 | } | 58 | } | ||
59 | 59 | | |||
60 | uint32_t qtMouseButtonToButton(Qt::MouseButton button); | ||||
romangg: Change to hash and getter in separate patch. Under the assumption we keep the new input event… | |||||
61 | | ||||
60 | class KWIN_EXPORT PointerInputRedirection : public InputDeviceHandler | 62 | class KWIN_EXPORT PointerInputRedirection : public InputDeviceHandler | ||
61 | { | 63 | { | ||
62 | Q_OBJECT | 64 | Q_OBJECT | ||
63 | public: | 65 | public: | ||
64 | explicit PointerInputRedirection(InputRedirection *parent); | 66 | explicit PointerInputRedirection(InputRedirection *parent); | ||
65 | ~PointerInputRedirection() override; | 67 | ~PointerInputRedirection() override; | ||
66 | 68 | | |||
67 | void init() override; | 69 | void init() override; | ||
▲ Show 20 Lines • Show All 192 Lines • Show Last 20 Lines |
Change to hash and getter in separate patch. Under the assumption we keep the new input event filter this needs to go into input.h/input.cpp or some other device-independent file and not anymore in pointer_input.