All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] Documentation/ABI/hid-multitouch: add description for {surface,button}_switch sysfs attributes
@ 2020-07-31 22:36 Barnabás Pőcze
  0 siblings, 0 replies; only message in thread
From: Barnabás Pőcze @ 2020-07-31 22:36 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires, linux-input

This commit adds description for the {surface,button}_switch sysfs
attributes that are exported by the hid-multitouch driver, and that
may be used to enable/disable certain parts of a touch device.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
---
 .../ABI/testing/sysfs-driver-hid-multitouch     | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-driver-hid-multitouch b/Documentation/ABI/testing/sysfs-driver-hid-multitouch
index f79839d1af37..10c8d427232d 100644
--- a/Documentation/ABI/testing/sysfs-driver-hid-multitouch
+++ b/Documentation/ABI/testing/sysfs-driver-hid-multitouch
@@ -7,3 +7,20 @@ Description:	The integer value of this attribute corresponds to the
 		MT_QUIRKS_* in hid-multitouch.c).
 		When written this attribute change on the fly the quirks, then
 		the protocol to handle the device.
+
+What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/surface_switch
+Date:		July 2020
+Contact:	linux-input@vger.kernel.org
+Description:	The integer value of this attribute corresponds to the state of
+		the device's surface switch. It is 0 if the the surface switch
+		is off, meaning no surface events are reported; otherwise it
+		is 1. Writing to this attribute changes the state of the switch.
+
+
+What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/button_switch
+Date:		July 2020
+Contact:	linux-input@vger.kernel.org
+Description:	The integer value of this attribute corresponds to the state of
+		the device's button switch. It is 0 if the the button switch
+		is off, meaning no button events are reported; otherwise it
+		is 1. Writing to this attribute changes the state of the switch.
--
2.27.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-31 22:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 22:36 [PATCH 2/2] Documentation/ABI/hid-multitouch: add description for {surface,button}_switch sysfs attributes Barnabás Pőcze

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.