Skip to contentSkip to conversation

event subsystem: Define conference event types

PATCH Michael Büsch 2 participants 2 messages Apr 1, 2013 Input drivers

lore
Share & tools
lore
#0 lore raw

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.

---

include/uapi/linux/input.h +20 -0
Index: linux/include/uapi/linux/input.h
===================================================================
@@ -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
  */
 
Signature · 1 line
Michael
Acked-by
#1 lore raw
Quoted 9 lines · Michael Büsch

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.

Nicely done :)