Add tablet file for Lenovo Yoga 6

This commit is contained in:
Peter Hutterer 2021-02-09 13:30:49 +10:00
parent c370c060ab
commit 8649c797fd
2 changed files with 48 additions and 1 deletions

View File

@ -0,0 +1,43 @@
From d7b8e1bd501156ef2f4237b9e29a946496070490 Mon Sep 17 00:00:00 2001
From: Jason Gerecke <jason.gerecke@wacom.com>
Date: Thu, 4 Feb 2021 16:45:44 -0800
Subject: [PATCH libwacom] data: Add ISDv4 528e (Lenovo Yoga 6 13ARE05) (#346)
Link: https://github.com/linuxwacom/wacom-hid-descriptors/issues/136
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
---
data/isdv4-528e.tablet | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 data/isdv4-528e.tablet
diff --git a/data/isdv4-528e.tablet b/data/isdv4-528e.tablet
new file mode 100644
index 0000000..d697f27
--- /dev/null
+++ b/data/isdv4-528e.tablet
@@ -0,0 +1,22 @@
+# Lenovo Yoga 6 13ARE05
+# Sensor Type: AES
+# Features: Touch (Integrated), Tilt
+# HW Resolution: 29376 x 16524 (2540 x 2540 lpi)
+#
+# Autogenerated from sysinfo.RGxfCFKW69
+# https://github.com/linuxwacom/wacom-hid-descriptors/issues/136#issue-801322153
+
+[Device]
+Name=ISDv4 528e
+ModelName=
+DeviceMatch=i2c:056a:528e
+Class=ISDV4
+Width=12
+Height=7
+IntegratedIn=Display;System
+Styli=@isdv4-aes;
+
+[Features]
+Stylus=true
+Touch=true
+Buttons=0
--
2.29.2

View File

@ -1,6 +1,6 @@
Name: libwacom
Version: 1.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Tablet Information Client Library
Requires: %{name}-data
@ -8,6 +8,7 @@ License: MIT
URL: https://github.com/linuxwacom/libwacom
Source0: https://github.com/linuxwacom/libwacom/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
Patch01: 0001-data-Add-ISDv4-528e-Lenovo-Yoga-6-13ARE05-346.patch
BuildRequires: meson gcc
BuildRequires: glib2-devel libgudev1-devel
@ -78,6 +79,9 @@ install -d ${RPM_BUILD_ROOT}/%{_udevrulesdir}
%{_datadir}/libwacom/layouts/*.svg
%changelog
* Tue Feb 09 2021 Peter Hutterer <peter.hutterer@redhat.com> 1.8-2
- Add tablet file for Lenovo Yoga 6
* Fri Jan 29 2021 Peter Hutterer <peter.hutterer@redhat.com> 1.8-1
- libwacom 1.8