event subsystem: Define conference event types

From: Michael BÃsch
Date: Mon Apr 01 2013 - 08:30:49 EST


In order to improve the media coverage of important developer
conference events, extend the Linux event subsystem by corresponding
event type numbers.

Instead of referring to events by cryptic acronyms that nobody
knows the real meaning of, use even shorter acronyms defined to
hexadecimal numbers that every real hacker is familiar with.

Signed-off-by: Michael Buesch <m@xxxxxxx>

---


Index: linux/include/uapi/linux/input.h
===================================================================
--- linux.orig/include/uapi/linux/input.h 2013-02-28 22:27:32.798071135 +0100
+++ linux/include/uapi/linux/input.h 2013-04-01 13:56:05.715754517 +0200
@@ -183,6 +183,7 @@
#define EV_FF 0x15
#define EV_PWR 0x16
#define EV_FF_STATUS 0x17
+#define EV_CONFERENCE 0x18
#define EV_MAX 0x1f
#define EV_CNT (EV_MAX+1)

@@ -750,6 +751,25 @@
#define KEY_CNT (KEY_MAX+1)

/*
+ * Conference events
+ */
+#define CONF_KS 0x00 /* Kernel Summit */
+#define CONF_WNS 0x01 /* Wireless Networking Summit */
+#define CONF_ABS 0x02 /* Android Builders Summit */
+#define CONF_ALS 0x03 /* Automotive Linux Summit */
+#define CONF_LFCS 0x04 /* Linux Foundation Collaboration Summit */
+#define CONF_ELC 0x05 /* Embedded Linux Conference */
+#define CONF_FOSDEM 0x06 /* uhm, ... *scratches head* */
+#define CONF_KLF 0x07 /* Korea Linux Forum */
+#define CONF_LCE 0x08 /* LinuxCon Europe */
+#define CONF_LCA 0x09 /* linux.conf.au */
+#define CONF_LCJ 0x0A /* LinuxCon Japan */
+#define CONF_LCNA 0x0B /* LinuxCon North America */
+#define CONF_LPC 0x0C /* Linux Plumbers Conference */
+#define CONF_LSS 0x0D /* Linux Security Summit */
+#define CONF_PC 0x0E /* PyCon */
+
+/*
* Relative axes
*/


--
Michael

Attachment: signature.asc
Description: PGP signature