* [PATCH] Input: add short note about ABS_MISC+<n> axes
@ 2013-12-16 15:23 David Herrmann
2014-01-23 14:39 ` David Herrmann
0 siblings, 1 reply; 2+ messages in thread
From: David Herrmann @ 2013-12-16 15:23 UTC (permalink / raw)
To: linux-input
Cc: Jiri Kosina, Dmitry Torokhov, Benjamin Tissoires, David Herrmann
We must not reassign those axes or we will break backwards-compat. Add a
small note for that so we don't accidentally some day reuse these.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
---
include/uapi/linux/input.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
index a372627..da1125e 100644
--- a/include/uapi/linux/input.h
+++ b/include/uapi/linux/input.h
@@ -816,6 +816,10 @@ struct input_keymap_entry {
#define ABS_MISC 0x28
+/* ABS_MISC+x is used by HID to assign to unknown axes. Note that they used to
+ * flow over into the MT definitions. For backwards-compatibility, we must
+ * not reassign [0x29-0x2e] */
+
#define ABS_MT_SLOT 0x2f /* MT slot being modified */
#define ABS_MT_TOUCH_MAJOR 0x30 /* Major axis of touching ellipse */
#define ABS_MT_TOUCH_MINOR 0x31 /* Minor axis (omit if circular) */
--
1.8.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Input: add short note about ABS_MISC+<n> axes
2013-12-16 15:23 [PATCH] Input: add short note about ABS_MISC+<n> axes David Herrmann
@ 2014-01-23 14:39 ` David Herrmann
0 siblings, 0 replies; 2+ messages in thread
From: David Herrmann @ 2014-01-23 14:39 UTC (permalink / raw)
To: open list:HID CORE LAYER
Cc: Jiri Kosina, Dmitry Torokhov, Benjamin Tissoires, David Herrmann
Hi Dmitry
ping?
David
On Mon, Dec 16, 2013 at 4:23 PM, David Herrmann <dh.herrmann@gmail.com> wrote:
> We must not reassign those axes or we will break backwards-compat. Add a
> small note for that so we don't accidentally some day reuse these.
>
> Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
> ---
> include/uapi/linux/input.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
> index a372627..da1125e 100644
> --- a/include/uapi/linux/input.h
> +++ b/include/uapi/linux/input.h
> @@ -816,6 +816,10 @@ struct input_keymap_entry {
>
> #define ABS_MISC 0x28
>
> +/* ABS_MISC+x is used by HID to assign to unknown axes. Note that they used to
> + * flow over into the MT definitions. For backwards-compatibility, we must
> + * not reassign [0x29-0x2e] */
> +
> #define ABS_MT_SLOT 0x2f /* MT slot being modified */
> #define ABS_MT_TOUCH_MAJOR 0x30 /* Major axis of touching ellipse */
> #define ABS_MT_TOUCH_MINOR 0x31 /* Minor axis (omit if circular) */
> --
> 1.8.5.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-23 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16 15:23 [PATCH] Input: add short note about ABS_MISC+<n> axes David Herrmann
2014-01-23 14:39 ` David Herrmann
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).