linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] input.h: Add BTN_SIDE2 button code
@ 2015-01-23 10:24 Hans de Goede
  2015-01-30 22:35 ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2015-01-23 10:24 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Peter Hutterer, linux-input, Hans de Goede

Some mice report buttons with a MSC_SCAN of 589833 this maps to a button code
of 0x118, add a BTN_SIDE2 define for this to input.h

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1184352
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 include/uapi/linux/input.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
index a1d7e93..27b0f6a 100644
--- a/include/uapi/linux/input.h
+++ b/include/uapi/linux/input.h
@@ -498,6 +498,7 @@ struct input_keymap_entry {
 #define BTN_FORWARD		0x115
 #define BTN_BACK		0x116
 #define BTN_TASK		0x117
+#define BTN_SIDE2		0x118
 
 #define BTN_JOYSTICK		0x120
 #define BTN_TRIGGER		0x120
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-03  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-23 10:24 [PATCH] input.h: Add BTN_SIDE2 button code Hans de Goede
2015-01-30 22:35 ` Dmitry Torokhov
2015-02-03  8:13   ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).