summaryrefslogtreecommitdiff
path: root/recipes/qte/qte-2.3.10/deprecated/c700-hardware.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qte/qte-2.3.10/deprecated/c700-hardware.patch')
-rw-r--r--recipes/qte/qte-2.3.10/deprecated/c700-hardware.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/qte/qte-2.3.10/deprecated/c700-hardware.patch b/recipes/qte/qte-2.3.10/deprecated/c700-hardware.patch
new file mode 100644
index 0000000000..fa4bd25f37
--- /dev/null
+++ b/recipes/qte/qte-2.3.10/deprecated/c700-hardware.patch
@@ -0,0 +1,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