mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
onenetbook/4: update stylus patch for 5.12.12
This commit is contained in:
17
onenetbook/4/goodix-stylus-mastykin/5.12.12.patch.patch
Normal file
17
onenetbook/4/goodix-stylus-mastykin/5.12.12.patch.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
--- orig/patch1
|
||||
+++ updated/patch1
|
||||
@@ -10,11 +10,11 @@
|
||||
/* quirks to control the device */
|
||||
#define MT_QUIRK_NOT_SEEN_MEANS_UP BIT(0)
|
||||
#define MT_QUIRK_SLOT_IS_CONTACTID BIT(1)
|
||||
-@@ -70,6 +73,7 @@
|
||||
- #define MT_QUIRK_WIN8_PTP_BUTTONS BIT(18)
|
||||
+@@ -71,6 +74,7 @@
|
||||
#define MT_QUIRK_SEPARATE_APP_REPORT BIT(19)
|
||||
#define MT_QUIRK_FORCE_MULTI_INPUT BIT(20)
|
||||
-+#define MT_QUIRK_NON_MT_PEN BIT(21)
|
||||
+ #define MT_QUIRK_DISABLE_WAKEUP BIT(21)
|
||||
++#define MT_QUIRK_NON_MT_PEN BIT(22)
|
||||
|
||||
#define MT_INPUTMODE_TOUCHSCREEN 0x02
|
||||
#define MT_INPUTMODE_TOUCHPAD 0x03
|
||||
Reference in New Issue
Block a user