Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] HID: multitouch: set INPUT_PROP_PRESSUREPAD on compatible touchpads
@ 2025-12-21 23:43 Peter Hutterer via B4 Relay
  2025-12-21 23:43 ` [PATCH v2 1/4] HID: multitouch: set INPUT_PROP_PRESSUREPAD based on Digitizer/Button Type Peter Hutterer via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Peter Hutterer via B4 Relay @ 2025-12-21 23:43 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires, Shuah Khan
  Cc: Dmitry Torokhov, linux-input, linux-kselftest, linux-kernel,
	Vadim Klishko, Peter Hutterer

Nicely enough MS defines a button type for a pressurepad touchpad [2]
and it looks like most touchpad vendors fill this in.

The selftests require a bit of prep work (and a hack for the test
itself) - hidtools 0.12 requires python-libevdev 0.13 which in turn
provides constructors for unknown properties.

[2] https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/touchpad-windows-precision-touchpad-collection#device-capabilities-feature-report

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
Changes in v2:
- rebased on top of 6.18
- hid-multitouch changes split out into a separate patch
- Patches reordered for slightly nicer history, tests changes are
  grouped together
- Link to v1: https://lore.kernel.org/r/20251121-wip-hid-pressurepad-v1-0-e32e5565a527@who-t.net

---
Peter Hutterer (4):
      HID: multitouch: set INPUT_PROP_PRESSUREPAD based on Digitizer/Button Type
      selftests/hid: require hidtools 0.12
      selftests/hid: use a enum class for the different button types
      selftests/hid: add a test for the Digitizer/Button Type pressurepad

 drivers/hid/hid-multitouch.c                       | 12 ++++-
 tools/testing/selftests/hid/tests/conftest.py      | 14 +++++
 .../testing/selftests/hid/tests/test_multitouch.py | 61 +++++++++++++++++-----
 3 files changed, 73 insertions(+), 14 deletions(-)
---
base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
change-id: 20251111-wip-hid-pressurepad-8a800cdf1813

Best regards,
-- 
Peter Hutterer <peter.hutterer@who-t.net>



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-06-16  4:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-21 23:43 [PATCH v2 0/4] HID: multitouch: set INPUT_PROP_PRESSUREPAD on compatible touchpads Peter Hutterer via B4 Relay
2025-12-21 23:43 ` [PATCH v2 1/4] HID: multitouch: set INPUT_PROP_PRESSUREPAD based on Digitizer/Button Type Peter Hutterer via B4 Relay
2026-06-01 17:25   ` Rong Zhang
2026-06-16  4:24     ` Peter Hutterer
2025-12-21 23:43 ` [PATCH v2 2/4] selftests/hid: require hidtools 0.12 Peter Hutterer via B4 Relay
2025-12-21 23:43 ` [PATCH v2 3/4] selftests/hid: use a enum class for the different button types Peter Hutterer via B4 Relay
2025-12-22  7:36   ` Peter Hutterer
2025-12-21 23:43 ` [PATCH v2 4/4] selftests/hid: add a test for the Digitizer/Button Type pressurepad Peter Hutterer via B4 Relay
2026-01-07 15:13 ` [PATCH v2 0/4] HID: multitouch: set INPUT_PROP_PRESSUREPAD on compatible touchpads Benjamin Tissoires

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox