* event subsystem: Define conference event types
@ 2013-04-01 12:08 Michael Büsch
2013-04-01 19:04 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Michael Büsch @ 2013-04-01 12:08 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1782 bytes --]
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@bues.ch>
---
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: event subsystem: Define conference event types
2013-04-01 12:08 event subsystem: Define conference event types Michael Büsch
@ 2013-04-01 19:04 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2013-04-01 19:04 UTC (permalink / raw)
To: Michael Büsch; +Cc: linux-kernel
On Mon, Apr 01, 2013 at 02:08:56PM +0200, Michael Büsch wrote:
> 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@bues.ch>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Nicely done :)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-01 19:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-01 12:08 event subsystem: Define conference event types Michael Büsch
2013-04-01 19:04 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox