[PATCH evtest 3/9] Add SYN_DROPPED

Peter Hutterer peter.hutterer at who-t.net
Wed Aug 21 20:46:48 PDT 2013


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 evtest.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/evtest.c b/evtest.c
index 43b5169..d57599c 100644
--- a/evtest.c
+++ b/evtest.c
@@ -74,6 +74,9 @@
 #ifndef SYN_MT_REPORT
 #define SYN_MT_REPORT 2
 #endif
+#ifndef SYN_DROPPED
+#define SYN_DROPPED 3
+#endif
 
 #define NAME_ELEMENT(element) [element] = #element
 
@@ -531,7 +534,8 @@ static const char * const syns[SYN_MAX + 1] = {
 	[0 ... SYN_MAX] = NULL,
 	NAME_ELEMENT(SYN_REPORT),
 	NAME_ELEMENT(SYN_CONFIG),
-	NAME_ELEMENT(SYN_MT_REPORT)
+	NAME_ELEMENT(SYN_MT_REPORT),
+	NAME_ELEMENT(SYN_DROPPED)
 };
 
 static const char * const switches[SW_MAX + 1] = {
-- 
1.8.2.1



More information about the Input-tools mailing list