Compare commits
11 Commits
a043476334
...
e241432d4f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e241432d4f | ||
|
|
b7416e52de | ||
|
|
8c08800a24 | ||
|
|
a554bb43ac | ||
|
|
92d37acca1 | ||
|
|
2da74252d8 | ||
|
|
9f6706ed19 | ||
|
|
dcc1f0e19b | ||
|
|
fa90236b9a | ||
|
|
a3ae80ea5f | ||
|
|
a6cafcd234 |
@ -1,4 +1,4 @@
|
|||||||
From 41d20d35c1587f3de35acf47f926c97a30680978 Mon Sep 17 00:00:00 2001
|
From be5220b31e77b1a3f723def32f69e6aee9f3c7e9 Mon Sep 17 00:00:00 2001
|
||||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
Date: Thu, 18 May 2017 14:45:18 +1000
|
Date: Thu, 18 May 2017 14:45:18 +1000
|
||||||
Subject: [PATCH xf86-input-libinput] Add a DPIScaleFactor option as temporary
|
Subject: [PATCH xf86-input-libinput] Add a DPIScaleFactor option as temporary
|
||||||
@ -11,13 +11,13 @@ https://bugzilla.redhat.com/show_bug.cgi?id=1413306
|
|||||||
2 files changed, 47 insertions(+)
|
2 files changed, 47 insertions(+)
|
||||||
|
|
||||||
diff --git a/man/libinput.man b/man/libinput.man
|
diff --git a/man/libinput.man b/man/libinput.man
|
||||||
index 6ed4cdd..a5fa68e 100644
|
index 7c83ccb..76572f8 100644
|
||||||
--- a/man/libinput.man
|
--- a/man/libinput.man
|
||||||
+++ b/man/libinput.man
|
+++ b/man/libinput.man
|
||||||
@@ -426,6 +426,27 @@ This driver does not work with \fBOption \*qDevice\*q\fR set to an event
|
@@ -454,6 +454,27 @@ This driver does not work with \fBOption \*qDevice\*q\fR set to an event
|
||||||
node in \fI/dev/input/by-id\fR and \fI/dev/input/by-path\fR. This can be
|
node in \fI/dev/input/by-id\fR and \fI/dev/input/by-path\fR. This can be
|
||||||
usually be worked by using \fBSection \*qInputClass\*q\fR with an
|
usually be worked by using \fBSection \*qInputClass\*q\fR with an
|
||||||
appropriate \fBMatch*\fR statement in the __xconfigfile__(__filemansuffix__).
|
appropriate \fBMatch*\fR statement in the xorg.conf(5).
|
||||||
+.PP
|
+.PP
|
||||||
+This driver does not know about the display pixel density and submits motion
|
+This driver does not know about the display pixel density and submits motion
|
||||||
+events assuming an approximate display density of 96dpi. On high-dpi
|
+events assuming an approximate display density of 96dpi. On high-dpi
|
||||||
@ -43,10 +43,10 @@ index 6ed4cdd..a5fa68e 100644
|
|||||||
.SH AUTHORS
|
.SH AUTHORS
|
||||||
Peter Hutterer
|
Peter Hutterer
|
||||||
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
|
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
|
||||||
index 00f1f2c..d571288 100644
|
index 642f95f..cfee922 100644
|
||||||
--- a/src/xf86libinput.c
|
--- a/src/xf86libinput.c
|
||||||
+++ b/src/xf86libinput.c
|
+++ b/src/xf86libinput.c
|
||||||
@@ -193,6 +193,8 @@ struct xf86libinput {
|
@@ -214,6 +214,8 @@ struct xf86libinput {
|
||||||
struct scale_factor {
|
struct scale_factor {
|
||||||
double x, y;
|
double x, y;
|
||||||
} area_scale_factor;
|
} area_scale_factor;
|
||||||
@ -55,7 +55,7 @@ index 00f1f2c..d571288 100644
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum event_handling {
|
enum event_handling {
|
||||||
@@ -1472,6 +1474,11 @@ xf86libinput_handle_motion(InputInfoPtr pInfo, struct libinput_event_pointer *ev
|
@@ -1571,6 +1573,11 @@ xf86libinput_handle_motion(InputInfoPtr pInfo, struct libinput_event_pointer *ev
|
||||||
x = libinput_event_pointer_get_dx(event);
|
x = libinput_event_pointer_get_dx(event);
|
||||||
y = libinput_event_pointer_get_dy(event);
|
y = libinput_event_pointer_get_dy(event);
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ index 00f1f2c..d571288 100644
|
|||||||
valuator_mask_zero(mask);
|
valuator_mask_zero(mask);
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -3698,6 +3705,25 @@ xf86libinput_pre_init(InputDriverPtr drv,
|
@@ -3951,6 +3958,25 @@ xf86libinput_pre_init(InputDriverPtr drv,
|
||||||
|
|
||||||
xf86libinput_parse_options(pInfo, driver_data, device);
|
xf86libinput_parse_options(pInfo, driver_data, device);
|
||||||
|
|
||||||
@ -94,5 +94,4 @@ index 00f1f2c..d571288 100644
|
|||||||
* this device, create a separate device instead */
|
* this device, create a separate device instead */
|
||||||
if (!is_subdevice &&
|
if (!is_subdevice &&
|
||||||
--
|
--
|
||||||
2.27.0
|
2.40.0
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
xf86-input-libinput-1.4.0.tar.gz
Normal file
BIN
xf86-input-libinput-1.4.0.tar.gz
Normal file
Binary file not shown.
@ -2,12 +2,12 @@
|
|||||||
%global driverdir %{moduledir}/input
|
%global driverdir %{moduledir}/input
|
||||||
|
|
||||||
Name: xorg-x11-drv-libinput
|
Name: xorg-x11-drv-libinput
|
||||||
Version: 1.2.0
|
Version: 1.4.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Xorg X11 libinput input driver
|
Summary: Xorg X11 libinput input driver
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://www.x.org
|
URL: https://www.x.org
|
||||||
Source0: https://www.x.org/archive/individual/driver/xf86-input-libinput-%{version}.tar.bz2
|
Source0: https://www.x.org/archive/individual/driver/xf86-input-libinput-%{version}.tar.gz
|
||||||
Source1: 71-libinput-overrides-wacom.conf
|
Source1: 71-libinput-overrides-wacom.conf
|
||||||
|
|
||||||
Patch0001: 0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch
|
Patch0001: 0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch
|
||||||
@ -72,7 +72,19 @@ cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/
|
|||||||
%{_mandir}/man4/libinput.4*
|
%{_mandir}/man4/libinput.4*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Nov 11 2021 yangcheng<yangcheng87@huawei.com> - 1.2.0-1
|
* Thu Dec 28 2023 Paul Thomas <paulthomas100199@gmail.com> - 1.4.0-1
|
||||||
|
- update to version 1.4.0
|
||||||
|
|
||||||
|
* Fri Jul 14 2023 zhangpan <zhangpan103@h-partners.com> - 1.3.0-1
|
||||||
|
- update to 1.3.0
|
||||||
|
|
||||||
|
* Fri Feb 03 2023 zhangpan <zhangpan@h-partners.com> - 1.2.1-1
|
||||||
|
- update to 1.2.1
|
||||||
|
|
||||||
|
* Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 1.2.0-2
|
||||||
|
- rebuild for next release
|
||||||
|
|
||||||
|
* Thu Nov 11 2021 yangcheng<yangcheng87@huawei.com> - 1.2.0-1
|
||||||
- Upgrade to 1.2.0-1
|
- Upgrade to 1.2.0-1
|
||||||
|
|
||||||
* Mon Jul 20 2020 chengguipeng<chengguipeng1@huawei.com> - 0.30.0-1
|
* Mon Jul 20 2020 chengguipeng<chengguipeng1@huawei.com> - 0.30.0-1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user