forked from NixOS/nixos-hardware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
onenetbook/4: update stylus patch for 6.1
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- orig/patch1 2023-03-19 00:07:17.419793837 +0100 | ||
+++ updated/patch1 2023-03-19 00:08:09.493618699 +0100 | ||
@@ -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) | ||
- #define MT_QUIRK_SEPARATE_APP_REPORT BIT(19) | ||
+@@ -72,6 +75,7 @@ | ||
#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_ORIENTATION_INVERT BIT(22) | ||
++#define MT_QUIRK_NON_MT_PEN BIT(23) | ||
|
||
#define MT_INPUTMODE_TOUCHSCREEN 0x02 | ||
#define MT_INPUTMODE_TOUCHPAD 0x03 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters