<s>
evdev	B-Application
(	O
short	O
for	O
'	O
event	O
device	O
 '	O
)	O
is	O
a	O
generic	O
input	O
event	O
interface	O
in	O
the	O
Linux	B-Operating_System
kernel	I-Operating_System
and	O
FreeBSD	B-Operating_System
.	O
</s>
<s>
It	O
generalizes	O
raw	O
input	O
events	O
from	O
device	B-Application
drivers	I-Application
and	O
makes	O
them	O
available	O
through	O
character	O
devices	O
in	O
the	O
/dev/input/	O
directory	O
.	O
</s>
<s>
The	O
user-space	O
library	O
for	O
the	O
kernel	B-Operating_System
component	O
evdev	B-Application
is	O
called	O
libevdev	B-Application
.	O
</s>
<s>
Libevdev	B-Application
abstracts	O
the	O
evdev	B-Application
ioctls	B-Operating_System
through	O
type-safe	O
interfaces	O
and	O
provides	O
functions	O
to	O
change	O
the	O
appearance	O
of	O
the	O
device	O
.	O
</s>
<s>
Libevdev	B-Application
shares	O
similarities	O
with	O
the	O
read	B-Language
system	O
call	O
.	O
</s>
<s>
It	O
sits	O
below	O
the	O
process	O
that	O
handles	O
input	O
events	O
,	O
in	O
between	O
the	O
kernel	B-Operating_System
and	O
that	O
process	O
.	O
</s>
<s>
For	O
Weston/Wayland	B-Language
,	O
the	O
stack	O
would	O
look	O
like	O
this	O
:	O
</s>
<s>
Since	O
version	O
1.16	O
the	O
xorg-xserver	O
obtained	O
support	O
for	O
libinput	B-Language
:	O
</s>
<s>
evdev	B-Application
is	O
primarily	O
used	O
by	O
display	O
servers	O
like	O
X.org	B-Operating_System
(	O
via	O
xf86-input-evdev	O
driver	O
and	O
libevdev	B-Application
)	O
and	O
Weston	O
,	O
as	O
well	O
as	O
by	O
games	O
and	O
console	O
emulators	O
making	O
use	O
of	O
USB	O
and	O
Bluetooth	O
controllers	O
.	O
</s>
