Skip to content

Commit b3f126f

Browse files
author
Benjamin Tissoires
committed
Merge branch 'for-6.18/haptic' into for-linus
- Implement haptic touchpad support (Angela Czubak and Jonathan Denose)
2 parents b4b6bdd + 8d0bf79 commit b3f126f

12 files changed

Lines changed: 858 additions & 7 deletions

File tree

Documentation/input/event-codes.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,20 @@ can report through the rotational axes (absolute and/or relative rx, ry, rz).
400400
All other axes retain their meaning. A device must not mix
401401
regular directional axes and accelerometer axes on the same event node.
402402

403+
INPUT_PROP_HAPTIC_TOUCHPAD
404+
--------------------------
405+
406+
The INPUT_PROP_HAPTIC_TOUCHPAD property indicates that device:
407+
- supports simple haptic auto and manual triggering
408+
- can differentiate between at least 5 fingers
409+
- uses correct resolution for the X/Y (units and value)
410+
- reports correct force per touch, and correct units for them (newtons or grams)
411+
- follows the MT protocol type B
412+
413+
Summing up, such devices follow the MS spec for input devices in
414+
Win8 and Win8.1, and in addition support the Simple haptic controller HID table,
415+
and report correct units for the pressure.
416+
403417
Guidelines
404418
==========
405419

drivers/hid/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,17 @@ config HID_GENERIC
9292

9393
If unsure, say Y.
9494

95+
config HID_HAPTIC
96+
tristate "Haptic touchpad support"
97+
default n
98+
help
99+
Support for touchpads with force sensors and haptic actuators instead of a
100+
traditional button.
101+
Adds extra parsing and FF device for the hid multitouch driver.
102+
It can be used for Elan 2703 haptic touchpad.
103+
104+
If unsure, say N.
105+
95106
menu "Special HID drivers"
96107

97108
config HID_A4TECH

drivers/hid/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#
55
hid-y := hid-core.o hid-input.o hid-quirks.o
66
hid-$(CONFIG_DEBUG_FS) += hid-debug.o
7+
hid-$(CONFIG_HID_HAPTIC) += hid-haptic.o
78

89
obj-$(CONFIG_HID_BPF) += bpf/
910

0 commit comments

Comments
 (0)