summaryrefslogtreecommitdiff
path: root/README
blob: 54dbb670915a25fe753ba79029e3bb323f16fbcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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