summaryrefslogtreecommitdiff
path: root/qte/qte-2.3.8-snapshot/qwsmouse-tosa.diff
blob: ac4a87b8210e22b656a2ea6fc4418f6b548ae444 (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
--- qwsmouse_qws.cpp~qwsmouse-c700	2004-09-20 00:01:42.000000000 +1000
+++ qt-2.3.9/src/kernel/qwsmouse_qws.cpp	2004-09-20 13:04:29.000000000 +1000
@@ -71,14 +71,18 @@
 #elif defined(QT_QWS_SL5XXX)
 #define QT_QWS_SL5XXX_RAW
 typedef struct {
-       long y;
-       long x;
-       long pressure;
-       long long millisecs;
+        unsigned short pressure;
+        unsigned short x;
+        unsigned short y;
+        unsigned short pad;
+//        long y;
+//        long x;
+//        long pressure;
+//        long long 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_PRESSURE_THRESHOLD 1
 #define QT_QWS_TP_MOVE_LIMIT 50
 #define QT_QWS_TP_JITTER_LIMIT 2
 #endif