Version bump.

This commit is contained in:
Ronald Farrer 2024-08-26 21:24:44 -07:00
parent a8ee215a7e
commit b27f2a199a
18 changed files with 315 additions and 112 deletions

View file

@ -0,0 +1,118 @@
From b89d3ac556baafbf88b34ae2feadbcffc87bc3e4 Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Sat, 27 Jun 2020 18:21:11 +0200
Subject: [PATCH 01/16] Add support for BUS_VIRTUAL
This is needed to support IPTS devices through the iptsd userspace
daemon. It exposes the touchscreen / stylus as uinput, since the parsing
of raw IPTS data needs to happen in userspace.
Because these devices are not backed by an actual bus, they are created
as BUS_VIRTUAL.
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
---
libwacom/libwacom-database.c | 4 ++++
libwacom/libwacom.c | 5 +++++
libwacom/libwacom.h | 1 +
test/test-tablet-validity.c | 1 +
test/test_data_files.py | 1 +
tools/debug-device.c | 1 +
6 files changed, 13 insertions(+)
diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c
index eb47510..c5e2fcf 100644
--- a/libwacom/libwacom-database.c
+++ b/libwacom/libwacom-database.c
@@ -130,6 +130,8 @@ bus_from_str (const char *str)
return WBUSTYPE_BLUETOOTH;
if (g_str_equal(str, "i2c"))
return WBUSTYPE_I2C;
+ if (g_str_equal(str, "virt"))
+ return WBUSTYPE_VIRTUAL;
return WBUSTYPE_UNKNOWN;
}
@@ -148,6 +150,8 @@ bus_to_str (WacomBusType bus)
return "bluetooth";
case WBUSTYPE_I2C:
return "i2c";
+ case WBUSTYPE_VIRTUAL:
+ return "virt";
}
g_assert_not_reached ();
}
diff --git a/libwacom/libwacom.c b/libwacom/libwacom.c
index 1ffb910..c028bde 100644
--- a/libwacom/libwacom.c
+++ b/libwacom/libwacom.c
@@ -149,6 +149,10 @@ get_bus_vid_pid (GUdevDevice *device,
*bus = WBUSTYPE_I2C;
retval = TRUE;
break;
+ case 6:
+ *bus = WBUSTYPE_VIRTUAL;
+ retval = TRUE;
+ break;
}
out:
@@ -1022,6 +1026,7 @@ static void print_match(int fd, const WacomMatch *match)
case WBUSTYPE_USB: bus_name = "usb"; break;
case WBUSTYPE_SERIAL: bus_name = "serial"; break;
case WBUSTYPE_I2C: bus_name = "i2c"; break;
+ case WBUSTYPE_VIRTUAL: bus_name = "virt"; break;
case WBUSTYPE_UNKNOWN: bus_name = "unknown"; break;
default: g_assert_not_reached(); break;
}
diff --git a/libwacom/libwacom.h b/libwacom/libwacom.h
index c0d380c..a4fbb17 100644
--- a/libwacom/libwacom.h
+++ b/libwacom/libwacom.h
@@ -154,6 +154,7 @@ typedef enum {
WBUSTYPE_SERIAL, /**< Serial tablet */
WBUSTYPE_BLUETOOTH, /**< Bluetooth tablet */
WBUSTYPE_I2C, /**< I2C tablet */
+ WBUSTYPE_VIRTUAL, /**< Virtual (uinput) tablet */
} WacomBusType;
/**
diff --git a/test/test-tablet-validity.c b/test/test-tablet-validity.c
index 69d34c8..964fce0 100644
--- a/test/test-tablet-validity.c
+++ b/test/test-tablet-validity.c
@@ -177,6 +177,7 @@ assert_vidpid(WacomBusType bus, int vid, int pid)
break;
case WBUSTYPE_BLUETOOTH:
case WBUSTYPE_I2C:
+ case WBUSTYPE_VIRTUAL:
g_assert_cmpint(vid, >, 0);
g_assert_cmpint(pid, >, 0);
break;
diff --git a/test/test_data_files.py b/test/test_data_files.py
index 9385b1c..f76c3f3 100755
--- a/test/test_data_files.py
+++ b/test/test_data_files.py
@@ -47,6 +47,7 @@ def test_device_match(tabletfile):
"bluetooth",
"i2c",
"serial",
+ "virt",
], f"{tabletfile}: unknown bus type"
assert re.match(
"[0-9a-f]{4}", vid
diff --git a/tools/debug-device.c b/tools/debug-device.c
index 2cdac20..51ec53e 100644
--- a/tools/debug-device.c
+++ b/tools/debug-device.c
@@ -122,6 +122,7 @@ handle_device(WacomDeviceDatabase *db, const char *path)
case WBUSTYPE_SERIAL: busstr = "SERIAL"; break;
case WBUSTYPE_BLUETOOTH: busstr = "BLUETOOTH"; break;
case WBUSTYPE_I2C: busstr = "I2C"; break;
+ case WBUSTYPE_VIRTUAL: busstr = "VIRTUAL"; break;
}
func(libwacom_get_bustype, "%s", busstr);
}
--
2.45.1

View file

@ -0,0 +1,113 @@
From b8dae24b8f4bf24c3d1aeccc3efef81fc0f8b08d Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 1 Jun 2019 21:17:15 +0200
Subject: [PATCH 02/16] Add support for Intel Management Engine bus
Add support for devices connected via the Intel Management Engine (MEI).
This is required to support IPTS based devices, such as (among others)
the Microsoft Surface Books, Surface Pro 5 and 6, and Surface Laptops.
---
libwacom/libwacom-database.c | 4 ++++
libwacom/libwacom.c | 5 +++++
libwacom/libwacom.h | 1 +
test/test-tablet-validity.c | 1 +
test/test_data_files.py | 1 +
tools/debug-device.c | 1 +
6 files changed, 13 insertions(+)
diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c
index c5e2fcf..d9fc0c4 100644
--- a/libwacom/libwacom-database.c
+++ b/libwacom/libwacom-database.c
@@ -132,6 +132,8 @@ bus_from_str (const char *str)
return WBUSTYPE_I2C;
if (g_str_equal(str, "virt"))
return WBUSTYPE_VIRTUAL;
+ if (strcmp (str, "mei") == 0)
+ return WBUSTYPE_MEI;
return WBUSTYPE_UNKNOWN;
}
@@ -152,6 +154,8 @@ bus_to_str (WacomBusType bus)
return "i2c";
case WBUSTYPE_VIRTUAL:
return "virt";
+ case WBUSTYPE_MEI:
+ return "mei";
}
g_assert_not_reached ();
}
diff --git a/libwacom/libwacom.c b/libwacom/libwacom.c
index c028bde..0d34227 100644
--- a/libwacom/libwacom.c
+++ b/libwacom/libwacom.c
@@ -153,6 +153,10 @@ get_bus_vid_pid (GUdevDevice *device,
*bus = WBUSTYPE_VIRTUAL;
retval = TRUE;
break;
+ case 68:
+ *bus = WBUSTYPE_MEI;
+ retval = TRUE;
+ break;
}
out:
@@ -1027,6 +1031,7 @@ static void print_match(int fd, const WacomMatch *match)
case WBUSTYPE_SERIAL: bus_name = "serial"; break;
case WBUSTYPE_I2C: bus_name = "i2c"; break;
case WBUSTYPE_VIRTUAL: bus_name = "virt"; break;
+ case WBUSTYPE_MEI: bus_name = "mei"; break;
case WBUSTYPE_UNKNOWN: bus_name = "unknown"; break;
default: g_assert_not_reached(); break;
}
diff --git a/libwacom/libwacom.h b/libwacom/libwacom.h
index a4fbb17..dfc6d7b 100644
--- a/libwacom/libwacom.h
+++ b/libwacom/libwacom.h
@@ -155,6 +155,7 @@ typedef enum {
WBUSTYPE_BLUETOOTH, /**< Bluetooth tablet */
WBUSTYPE_I2C, /**< I2C tablet */
WBUSTYPE_VIRTUAL, /**< Virtual (uinput) tablet */
+ WBUSTYPE_MEI, /**< MEI */
} WacomBusType;
/**
diff --git a/test/test-tablet-validity.c b/test/test-tablet-validity.c
index 964fce0..5178583 100644
--- a/test/test-tablet-validity.c
+++ b/test/test-tablet-validity.c
@@ -178,6 +178,7 @@ assert_vidpid(WacomBusType bus, int vid, int pid)
case WBUSTYPE_BLUETOOTH:
case WBUSTYPE_I2C:
case WBUSTYPE_VIRTUAL:
+ case WBUSTYPE_MEI:
g_assert_cmpint(vid, >, 0);
g_assert_cmpint(pid, >, 0);
break;
diff --git a/test/test_data_files.py b/test/test_data_files.py
index f76c3f3..f7cf9bc 100755
--- a/test/test_data_files.py
+++ b/test/test_data_files.py
@@ -48,6 +48,7 @@ def test_device_match(tabletfile):
"i2c",
"serial",
"virt",
+ "mei",
], f"{tabletfile}: unknown bus type"
assert re.match(
"[0-9a-f]{4}", vid
diff --git a/tools/debug-device.c b/tools/debug-device.c
index 51ec53e..6a00f9d 100644
--- a/tools/debug-device.c
+++ b/tools/debug-device.c
@@ -123,6 +123,7 @@ handle_device(WacomDeviceDatabase *db, const char *path)
case WBUSTYPE_BLUETOOTH: busstr = "BLUETOOTH"; break;
case WBUSTYPE_I2C: busstr = "I2C"; break;
case WBUSTYPE_VIRTUAL: busstr = "VIRTUAL"; break;
+ case WBUSTYPE_MEI: busstr = "MEI"; break;
}
func(libwacom_get_bustype, "%s", busstr);
}
--
2.45.1

View file

@ -0,0 +1,33 @@
From 2e5f077c87daeeae2dcc841c886668ab596ab952 Mon Sep 17 00:00:00 2001
From: "Antony Jordan (Tablet)" <wiccan.two@gmail.com>
Date: Wed, 8 Jun 2022 22:03:33 +0200
Subject: [PATCH 03/16] data: Add Microsoft Surface Pro 3
---
data/surface-pro3.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-pro3.tablet
diff --git a/data/surface-pro3.tablet b/data/surface-pro3.tablet
new file mode 100644
index 0000000..2f53541
--- /dev/null
+++ b/data/surface-pro3.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Pro 3
+
+[Device]
+Name=Microsoft Surface Pro 3
+Class=PenDisplay
+DeviceMatch=i2c|1b96|1b05
+Width=10
+Height=6
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=true
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,33 @@
From dc9e16bc247d513f1f468e7c8a7f71506941a320 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 18 Aug 2020 20:18:55 +0200
Subject: [PATCH 04/16] data: Add Microsoft Surface Pro 4
---
data/surface-pro4.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-pro4.tablet
diff --git a/data/surface-pro4.tablet b/data/surface-pro4.tablet
new file mode 100644
index 0000000..f77f3a2
--- /dev/null
+++ b/data/surface-pro4.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Pro 4
+
+[Device]
+Name=Microsoft Surface Pro 4
+Class=PenDisplay
+DeviceMatch=virt|1b96|006a;virt|1b96|0021;mei|1b96|006a;mei|1b96|0021
+Width=10
+Height=6
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=true
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,33 @@
From 2ade3bb0de43ade8d0f5d3f326cae2efedbdc015 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 18 Aug 2020 20:19:02 +0200
Subject: [PATCH 05/16] data: Add Microsoft Surface Pro 5
---
data/surface-pro5.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-pro5.tablet
diff --git a/data/surface-pro5.tablet b/data/surface-pro5.tablet
new file mode 100644
index 0000000..410a0d3
--- /dev/null
+++ b/data/surface-pro5.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Pro 5 (2017)
+
+[Device]
+Name=Microsoft Surface Pro 5
+Class=PenDisplay
+DeviceMatch=virt|1b96|001f;mei|1b96|001f
+Width=10
+Height=6
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=true
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,33 @@
From 83765f93b8586c5e152593254d9ac55b5d4a8ba9 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 18 Aug 2020 20:19:07 +0200
Subject: [PATCH 06/16] data: Add Microsoft Surface Pro 6
---
data/surface-pro6.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-pro6.tablet
diff --git a/data/surface-pro6.tablet b/data/surface-pro6.tablet
new file mode 100644
index 0000000..eb89df0
--- /dev/null
+++ b/data/surface-pro6.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Pro 6
+
+[Device]
+Name=Microsoft Surface Pro 6
+Class=PenDisplay
+DeviceMatch=virt|045e|001f;mei|045e|001f
+Width=10
+Height=6
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=true
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,33 @@
From 8725c66f88c0bca79542e1069fbbdef98227de1a Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 18 Aug 2020 20:19:13 +0200
Subject: [PATCH 07/16] data: Add Microsoft Surface Pro 7
---
data/surface-pro7.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-pro7.tablet
diff --git a/data/surface-pro7.tablet b/data/surface-pro7.tablet
new file mode 100644
index 0000000..f960107
--- /dev/null
+++ b/data/surface-pro7.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Pro 7
+
+[Device]
+Name=Microsoft Surface Pro 7
+Class=PenDisplay
+DeviceMatch=virt|045e|099f;mei|045e|099f
+Width=10
+Height=6
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=false
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,34 @@
From fd315e255704f1172ec4940277ba5e28fd66990e Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 26 May 2023 12:32:21 +0200
Subject: [PATCH 08/16] data: Add Microsoft Surface Pro 7+
Based on https://github.com/linux-surface/libwacom-surface/issues/12
---
data/surface-pro7-plus.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-pro7-plus.tablet
diff --git a/data/surface-pro7-plus.tablet b/data/surface-pro7-plus.tablet
new file mode 100644
index 0000000..5c4e540
--- /dev/null
+++ b/data/surface-pro7-plus.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Pro 7+
+
+[Device]
+Name=Microsoft Surface Pro 7+
+Class=PenDisplay
+DeviceMatch=virt|045e|0c1a
+Width=10
+Height=6
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=false
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,34 @@
From 3ebad373725ed6d9415e000b5feffaba301fc4a4 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 11 Jun 2023 21:29:52 +0200
Subject: [PATCH 09/16] data: Add Microsoft Surface Pro 8
Based on https://github.com/linux-surface/libwacom-surface/issues/13
---
data/surface-pro8.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-pro8.tablet
diff --git a/data/surface-pro8.tablet b/data/surface-pro8.tablet
new file mode 100644
index 0000000..dcfef11
--- /dev/null
+++ b/data/surface-pro8.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Pro 8
+
+[Device]
+Name=Microsoft Surface Pro 8
+Class=PenDisplay
+DeviceMatch=virt|045e|0c37
+Width=10
+Height=6
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=false
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,34 @@
From f6b54c01d9167b8caca4e6c986a477efd1d5f62b Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 14 Jun 2023 21:11:36 +0200
Subject: [PATCH 10/16] data: Add Microsoft Surface Pro 9
IDs taken from https://github.com/quo/ithc-linux/issues/5
---
data/surface-pro9.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-pro9.tablet
diff --git a/data/surface-pro9.tablet b/data/surface-pro9.tablet
new file mode 100644
index 0000000..ee2b3ee
--- /dev/null
+++ b/data/surface-pro9.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Pro 9
+
+[Device]
+Name=Microsoft Surface Pro 9
+Class=PenDisplay
+DeviceMatch=virt|045e|0c52
+Width=10
+Height=6
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=false
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,33 @@
From 51b2a3a1d62175da158ea8cd6332683e86a0aaee Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 18 Aug 2020 20:19:38 +0200
Subject: [PATCH 11/16] data: Add Microsoft Surface Book
---
data/surface-book.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-book.tablet
diff --git a/data/surface-book.tablet b/data/surface-book.tablet
new file mode 100644
index 0000000..6daf5b6
--- /dev/null
+++ b/data/surface-book.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Book (1)
+
+[Device]
+Name=Microsoft Surface Book
+Class=PenDisplay
+DeviceMatch=virt|1b96|005e;mei|1b96|005e
+Width=11
+Height=7
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=true
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,33 @@
From 4afaa31b2cf6475d2687b9f9e0bab25ab2262f83 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 18 Aug 2020 20:20:04 +0200
Subject: [PATCH 12/16] data: Add Microsoft Surface Book 2 (13.5")
---
data/surface-book2-13.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-book2-13.tablet
diff --git a/data/surface-book2-13.tablet b/data/surface-book2-13.tablet
new file mode 100644
index 0000000..7cf7ba3
--- /dev/null
+++ b/data/surface-book2-13.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Book 2 13.5-inch model
+
+[Device]
+Name=Microsoft Surface Book 2 (13.5")
+Class=PenDisplay
+DeviceMatch=virt|045e|0021;mei|045e|0021
+Width=11
+Height=7
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=true
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,33 @@
From 7c7ec57b1aed65386dd7388979099f9a428f9275 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 18 Aug 2020 20:20:13 +0200
Subject: [PATCH 13/16] data: Add Microsoft Surface Book 2 (15")
---
data/surface-book2-15.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-book2-15.tablet
diff --git a/data/surface-book2-15.tablet b/data/surface-book2-15.tablet
new file mode 100644
index 0000000..3266fca
--- /dev/null
+++ b/data/surface-book2-15.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Book 2 15-inch model
+
+[Device]
+Name=Microsoft Surface Book 2 (15")
+Class=PenDisplay
+DeviceMatch=virt|045e|0020;mei|045e|0020
+Width=12
+Height=8
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=true
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,33 @@
From 9d213e720946ea4bc7a815ce273d68c3a534a09c Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 18 Aug 2020 20:20:29 +0200
Subject: [PATCH 14/16] data: Add Microsoft Surface Book 3 (13.5")
---
data/surface-book3-13.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-book3-13.tablet
diff --git a/data/surface-book3-13.tablet b/data/surface-book3-13.tablet
new file mode 100644
index 0000000..e363f33
--- /dev/null
+++ b/data/surface-book3-13.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Book 3 13.5-inch model
+
+[Device]
+Name=Microsoft Surface Book 3 (13.5")
+Class=PenDisplay
+DeviceMatch=virt|045e|09b2;mei|045e|09b2
+Width=11
+Height=7
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=false
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,33 @@
From cb410da1d83550efcd2a7a25286fc3a4bf5e8b86 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 18 Aug 2020 20:20:42 +0200
Subject: [PATCH 15/16] data: Add Microsoft Surface Book 3 (15")
---
data/surface-book3-15.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-book3-15.tablet
diff --git a/data/surface-book3-15.tablet b/data/surface-book3-15.tablet
new file mode 100644
index 0000000..4954b61
--- /dev/null
+++ b/data/surface-book3-15.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Book 3 15-inch model
+
+[Device]
+Name=Microsoft Surface Book 3 (15")
+Class=PenDisplay
+DeviceMatch=virt|045e|09b1;mei|045e|09b1
+Width=12
+Height=8
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=false
+Touch=true
+Buttons=0
--
2.45.1

View file

@ -0,0 +1,34 @@
From 9a6737f4aae99f5fcad86c0843fc68f3123cee2f Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 14 Jun 2023 21:12:41 +0200
Subject: [PATCH 16/16] data: Add Microsoft Surface Laptop Studio
IDs taken from https://github.com/quo/ithc-linux/issues/5
---
data/surface-laptop-studio.tablet | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 data/surface-laptop-studio.tablet
diff --git a/data/surface-laptop-studio.tablet b/data/surface-laptop-studio.tablet
new file mode 100644
index 0000000..6077403
--- /dev/null
+++ b/data/surface-laptop-studio.tablet
@@ -0,0 +1,14 @@
+# This is for the Microsoft Surface Laptop Studio
+
+[Device]
+Name=Microsoft Surface Laptop Studio
+Class=PenDisplay
+DeviceMatch=virt|045e|0c1b
+Width=10
+Height=6
+IntegratedIn=Display;System;
+
+[Features]
+Stylus=false
+Touch=true
+Buttons=0
--
2.45.1