From ee15b474fd8ce435af25490d6654520e9dfe9b30 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Thu, 15 Feb 2018 11:44:14 +0100 Subject: [PATCH] wacom/live: make sure the kernel assigns INPUT_PROP_POINTER The wacom kernel driver assigns INPUT_PROP_DIRECT if we use the application Pen. Using the Digitizer one fixes that. --- tuhi/wacom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuhi/wacom.py b/tuhi/wacom.py index 86bd6e4..efa42b8 100644 --- a/tuhi/wacom.py +++ b/tuhi/wacom.py @@ -58,7 +58,7 @@ class DeviceMode(enum.Enum): wacom_live_rdesc_template = [ 0x05, 0x0d, # Usage Page (Digitizers) 0 - 0x09, 0x02, # Usage (Pen) 2 + 0x09, 0x01, # Usage (Digitizer) 2 0xa1, 0x01, # Collection (Application) 4 0x85, 0x01, # .Report ID (1) 6 0x09, 0x20, # .Usage (Stylus) 8