summaryrefslogtreecommitdiff
path: root/packages/qte/qte-2.3.10/c700-hardware.patch
blob: fa4bd25f37af8bb56af162f1a49a73908b2774bf (plain)
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

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- qt-2.3.9-snapshot-20050114/src/kernel/qwsmouse_qws.cpp~c700-hardware
+++ qt-2.3.9-snapshot-20050114/src/kernel/qwsmouse_qws.cpp
@@ -87,6 +87,19 @@
 #define QT_QWS_TP_PRESSURE_THRESHOLD 500
 #define QT_QWS_TP_MOVE_LIMIT 50
 #define QT_QWS_TP_JITTER_LIMIT 2
+#elif defined(QT_QWS_SLC700)
+#define QT_QWS_SLC700_RAW
+typedef struct {
+       unsigned short pressure;
+       unsigned short x;
+       unsigned short y;
+      unsigned short millisecs;
+} TS_EVENT;
+#define QT_QWS_TP_SAMPLE_SIZE 10
+#define QT_QWS_TP_MINIMUM_SAMPLES 4
+#define QT_QWS_TP_PRESSURE_THRESHOLD 500
+#define QT_QWS_TP_MOVE_LIMIT 50
+#define QT_QWS_TP_JITTER_LIMIT 2
 #endif
 
 #ifndef QT_QWS_TP_SAMPLE_SIZE