File 0001-bundled-update-linux-input-event-codes.h-to-v6.18.patch of Package strace

From: "Dmitry V. Levin" <ldv@strace.io>
Date: Tue, 9 Dec 2025 08:00:00 +0000
Subject: bundled: update linux/input-event-codes.h to v6.18
References: build-fix-for-6.18
Patch-mainline: yes
Git-commit: bf9384561f295340f85c69deb307740fc9dc28f0
GIt-repo: https://github.com/strace/strace.git

* bundled/linux/include/uapi/linux/input-event-codes.h: Update
to headers_install'ed Linux kernel v6.18.
* src/xlat/evdev_prop.in (INPUT_PROP_HAPTIC_TOUCHPAD): Rename
to INPUT_PROP_PRESSUREPAD.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 bundled/linux/include/uapi/linux/input-event-codes.h |    2 +-
 src/xlat/evdev_prop.in                               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/bundled/linux/include/uapi/linux/input-event-codes.h
+++ b/bundled/linux/include/uapi/linux/input-event-codes.h
@@ -27,7 +27,7 @@
 #define INPUT_PROP_TOPBUTTONPAD		0x04	/* softbuttons at top of pad */
 #define INPUT_PROP_POINTING_STICK	0x05	/* is a pointing stick */
 #define INPUT_PROP_ACCELEROMETER	0x06	/* has accelerometer */
-#define INPUT_PROP_HAPTIC_TOUCHPAD	0x07	/* is a haptic touchpad */
+#define INPUT_PROP_PRESSUREPAD		0x07	/* pressure triggers clicks */
 
 #define INPUT_PROP_MAX			0x1f
 #define INPUT_PROP_CNT			(INPUT_PROP_MAX + 1)
--- a/src/xlat/evdev_prop.in
+++ b/src/xlat/evdev_prop.in
@@ -9,4 +9,4 @@ INPUT_PROP_SEMI_MT
 INPUT_PROP_TOPBUTTONPAD
 INPUT_PROP_POINTING_STICK
 INPUT_PROP_ACCELEROMETER
-INPUT_PROP_HAPTIC_TOUCHPAD
+INPUT_PROP_PRESSUREPAD
openSUSE Build Service is sponsored by