summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2017-02-13 16:18:05 +0900
committerAndi Shyti <andi.shyti@samsung.com>2017-02-13 16:18:05 +0900
commitd02efc03ee439775fbb5955ac4b384c9910ca411 (patch)
tree44aa884c2efef1df1192611882ea3e1abb7b9af6
parent2d9b04ac138fb9cc6858ad997d4c8b3fe0ce9699 (diff)
README: added fileHEADmaster
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
-rw-r--r--README31
1 files changed, 31 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..54dbb67
--- /dev/null
+++ b/README
@@ -0,0 +1,31 @@
+input event name discovery
+==================================================
+
+by Andi Shyti <andi.shyti@samsung.com>
+
+Overview
+--------
+This program prints the input events name by opening each /dev/input/eventX
+device, running an ioctl for fetching the name and printing it.
+
+Compile
+-------
+
+ $ make
+ $ ./ep
+
+a possible output could be:
+
+ event0 is Cherry GmbH wired keyboard
+ event1 is Cherry GmbH wired keyboard
+ event10 is HDA Intel PCH Line Out
+ event11 is HDA Intel PCH Front Headphone
+ event12 is HDA NVidia HDMI/DP,pcm=3
+ event13 is HDA NVidia HDMI/DP,pcm=7
+ event2 is PixArt USB Optical Mouse
+ event3 is Power Button
+ event4 is Power Button
+ event6 is Video Bus
+ event7 is HDA Intel PCH Front Mic
+ event8 is HDA Intel PCH Rear Mic
+ event9 is HDA Intel PCH Line