Changeset View
Changeset View
Standalone View
Standalone View
kcms/touchpad/backends/x11/synapticstouchpad.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | 48 | | |||
49 | #include <cmath> | 49 | #include <cmath> | ||
50 | #include <QDebug> | 50 | #include <QDebug> | ||
51 | 51 | | |||
52 | #include "synapticstouchpad.h" | 52 | #include "synapticstouchpad.h" | ||
53 | 53 | | |||
54 | #include <stddef.h> | 54 | #include <stddef.h> | ||
55 | #include <limits.h> | 55 | #include <limits.h> | ||
56 | #include <xorg/synaptics-properties.h> | 56 | #include <synaptics-properties.h> | ||
57 | 57 | | |||
58 | #define SYN_MAX_BUTTONS 12 | 58 | #define SYN_MAX_BUTTONS 12 | ||
59 | 59 | | |||
60 | const struct Parameter synapticsProperties[] = { | 60 | const struct Parameter synapticsProperties[] = { | ||
61 | {"LeftEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_EDGES, 32, 0}, | 61 | {"LeftEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_EDGES, 32, 0}, | ||
62 | {"RightEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_EDGES, 32, 1}, | 62 | {"RightEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_EDGES, 32, 1}, | ||
63 | {"TopEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_EDGES, 32, 2}, | 63 | {"TopEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_EDGES, 32, 2}, | ||
64 | {"BottomEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_EDGES, 32, 3}, | 64 | {"BottomEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_EDGES, 32, 3}, | ||
▲ Show 20 Lines • Show All 209 Lines • Show Last 20 Lines |