2019-12-27 23:54:14 +00:00
|
|
|
From 927b2d49811547c673eb3fc16126c8afca385757 Mon Sep 17 00:00:00 2001
|
2019-11-10 22:40:16 +00:00
|
|
|
From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= <blaz@mxxn.io>
|
|
|
|
Date: Wed, 6 Nov 2019 19:43:26 +0900
|
2019-11-03 00:04:48 +00:00
|
|
|
Subject: [PATCH 06/13] hid
|
2019-01-27 16:01:27 +00:00
|
|
|
|
|
|
|
---
|
2019-11-10 22:40:16 +00:00
|
|
|
drivers/hid/hid-core.c | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
2019-01-27 16:01:27 +00:00
|
|
|
|
2019-11-10 22:40:16 +00:00
|
|
|
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
|
2019-12-06 01:42:08 +00:00
|
|
|
index b0c8fae7f903..3a359716fb38 100644
|
2019-11-10 22:40:16 +00:00
|
|
|
--- a/drivers/hid/hid-core.c
|
|
|
|
+++ b/drivers/hid/hid-core.c
|
2019-12-06 01:42:08 +00:00
|
|
|
@@ -780,6 +780,10 @@ static void hid_scan_feature_usage(struct hid_parser *parser, u32 usage)
|
2019-11-10 22:40:16 +00:00
|
|
|
if (usage == 0xff0000c5 && parser->global.report_count == 256 &&
|
|
|
|
parser->global.report_size == 8)
|
|
|
|
parser->scan_flags |= HID_SCAN_FLAG_MT_WIN_8;
|
2019-01-27 16:01:27 +00:00
|
|
|
+
|
2019-11-10 22:40:16 +00:00
|
|
|
+ if (usage == 0xff0000c6 && parser->global.report_count == 1 &&
|
|
|
|
+ parser->global.report_size == 8)
|
|
|
|
+ parser->scan_flags |= HID_SCAN_FLAG_MT_WIN_8;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void hid_scan_collection(struct hid_parser *parser, unsigned type)
|
2019-01-27 16:01:27 +00:00
|
|
|
--
|
2019-12-27 23:54:14 +00:00
|
|
|
2.24.1
|
2019-01-27 16:01:27 +00:00
|
|
|
|