[PATCH 2/2] Documentation/ABI/hid-multitouch: add description for {surface,button}_switch sysfs attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 .../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@xxxxxxxxxxxxxxx
+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@xxxxxxxxxxxxxxx
+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






[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux