From: Chris Bagwell <ch...@cnpbagwell.com> We really need to add hooks to query pre-existing device state when input driver starts up because slot ID is almost never sent when touching 1 finger to screen.
In mean time, it makes sense to default device_type to most likely value of TOUCH (the T in MT) for this function used only by MT devices. The default of zero is causing some events to be filtered mistakenly. Signed-off-by: Chris Bagwell <ch...@cnpbagwell.com> --- src/wcmUSB.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/wcmUSB.c b/src/wcmUSB.c index 04bd897..d0a634f 100644 --- a/src/wcmUSB.c +++ b/src/wcmUSB.c @@ -1359,7 +1359,7 @@ static int usbParseBTNEvent(WacomCommonPtr common, */ static int usbInitToolType(const struct input_event *event_ptr, int nevents) { - int i, device_type = 0; + int i, device_type = TOUCH_ID; struct input_event* event = (struct input_event *)event_ptr; for (i = 0; (i < nevents) && !device_type; ++i) -- 1.7.5.2 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel