Changeset View
Changeset View
Standalone View
Standalone View
kcms/keyboard/daemon/xinput_helper.cpp
- This file was moved from kcms/keyboard/xinput_helper.cpp.
Show All 39 Lines | 34 | typedef struct xcb_input_device_presence_notify_event_t { | |||
---|---|---|---|---|---|
40 | uint8_t device_id; | 40 | uint8_t device_id; | ||
41 | uint16_t control; | 41 | uint16_t control; | ||
42 | uint8_t pad1[20]; | 42 | uint8_t pad1[20]; | ||
43 | } xcb_input_device_presence_notify_event_t; | 43 | } xcb_input_device_presence_notify_event_t; | ||
44 | // FIXME: #include <xcb/xinput.h> once xcb-xinput is stable | 44 | // FIXME: #include <xcb/xinput.h> once xcb-xinput is stable | ||
45 | #endif | 45 | #endif | ||
46 | 46 | | |||
47 | #include "x11_helper.h" | 47 | #include "x11_helper.h" | ||
48 | #include "udev_helper.h" | | |||
49 | 48 | | |||
50 | #include <fixx11h.h> | 49 | #include <fixx11h.h> | ||
51 | 50 | | |||
52 | static const int DEVICE_NONE = 0; | 51 | static const int DEVICE_NONE = 0; | ||
53 | static const int DEVICE_KEYBOARD = 1; | 52 | static const int DEVICE_KEYBOARD = 1; | ||
54 | static const int DEVICE_POINTER = 2; | 53 | static const int DEVICE_POINTER = 2; | ||
55 | 54 | | |||
56 | XInputEventNotifier::XInputEventNotifier(QWidget* parent): | 55 | XInputEventNotifier::XInputEventNotifier(QWidget* parent): | ||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |