summaryrefslogtreecommitdiff
path: root/usr/src/dkms_source_tree/hid-ntrig.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/dkms_source_tree/hid-ntrig.c')
-rw-r--r--usr/src/dkms_source_tree/hid-ntrig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/dkms_source_tree/hid-ntrig.c b/usr/src/dkms_source_tree/hid-ntrig.c
index 462a9a7..2d6cbc1 100644
--- a/usr/src/dkms_source_tree/hid-ntrig.c
+++ b/usr/src/dkms_source_tree/hid-ntrig.c
@@ -373,6 +373,10 @@ static int ntrig_event (struct hid_device *hid, struct hid_field *field,
373 if (nd->hasmt) { 373 if (nd->hasmt) {
374 nd->nindex = 0; 374 nd->nindex = 0;
375 nd->ncol = value; 375 nd->ncol = value;
376 /* skip pen switch events */
377 if (nd->ncol == 1 &&
378 nd->col[0].w == 10 && nd->col[0].h == 10)
379 break;
376 report_frame(input, nd); 380 report_frame(input, nd);
377 } 381 }
378 break; 382 break;