summaryrefslogtreecommitdiff
path: root/system/tp_smapi/patches/tp_smapi-0.40-x200-x200s-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/tp_smapi/patches/tp_smapi-0.40-x200-x200s-support.patch')
-rw-r--r--system/tp_smapi/patches/tp_smapi-0.40-x200-x200s-support.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/tp_smapi/patches/tp_smapi-0.40-x200-x200s-support.patch b/system/tp_smapi/patches/tp_smapi-0.40-x200-x200s-support.patch
new file mode 100644
index 0000000000..b1c4fa5c1a
--- /dev/null
+++ b/system/tp_smapi/patches/tp_smapi-0.40-x200-x200s-support.patch
@@ -0,0 +1,11 @@
+--- a/hdaps.c
++++ b/hdaps.c
+@@ -750,6 +750,8 @@
+ HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X60s", HDAPS_ORIENT_INVERT_Y),
+ HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X60", HDAPS_ORIENT_SWAP | HDAPS_ORIENT_INVERT_X),
+ HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X61", HDAPS_ORIENT_SWAP | HDAPS_ORIENT_INVERT_X),
++ HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X200", HDAPS_ORIENT_SWAP | HDAPS_ORIENT_INVERT_XY),
++ HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X200s", HDAPS_ORIENT_SWAP | HDAPS_ORIENT_INVERT_XY),
+ { .ident = NULL }
+ };
+