From 20d6c7c2e4c079e8c7c2e441c738598b74a058b5 Mon Sep 17 00:00:00 2001
From: Robert Kubosz <kubosz.robert@gmail.com>
Date: Thu, 12 Jul 2018 15:35:14 +0200
Subject: add paragraph to sway-input man page

The added paragraph describes how to get button identifier and set it in
config.
---
 sway/sway-input.5.scd | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'sway')

diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index cf7a6385..4bc66394 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -92,6 +92,11 @@ For more information on these xkb configuration options, see
 *input* <identifier> scroll\_method none|two\_finger|edge|on\_button\_down
 	Changes the scroll method for the specified input device.
 
+*input* <identifier> scroll\_button <button\_identifier>
+	Sets button used for scroll\_method on\_button\_down. The button identifier
+	can be obtained from `libinput debug-events`.
+	If set to 0, it disables the scroll\_button on\_button\_down.
+
 *input* <identifier> tap enabled|disabled
 	Enables or disables tap for specified input device.
 
-- 
cgit v1.2.3