All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Barnabás Pőcze" <pobrn@protonmail.com>
To: Jiri Kosina <jikos@kernel.org>,
	Benjamin Tissoires <benjamin.tissoires@redhat.com>,
	"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>
Subject: [PATCH 2/2] Documentation/ABI/hid-multitouch: add description for {surface,button}_switch sysfs attributes
Date: Fri, 31 Jul 2020 22:36:46 +0000	[thread overview]
Message-ID: <x9Al963GDBPgGb1TfOxsddmqRVUvJ6C6D6VfNkA6YFiRd_6n9cMOdbfpds63rwANYhzdKCSPG5QVpKsKc96CqP1suNhXrJOrwsosvf2j9QU=@protonmail.com> (raw)

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



                 reply	other threads:[~2020-07-31 22:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='x9Al963GDBPgGb1TfOxsddmqRVUvJ6C6D6VfNkA6YFiRd_6n9cMOdbfpds63rwANYhzdKCSPG5QVpKsKc96CqP1suNhXrJOrwsosvf2j9QU=@protonmail.com' \
    --to=pobrn@protonmail.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=jikos@kernel.org \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.