Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
evdev
Input handling of the Linux kernel

evdev (short for 'event device') is a generic input event interface in the Linux kernel and FreeBSD. It generalizes raw input events from device drivers and makes them available through character devices in the /dev/input/ directory.

The user-space library for the kernel component evdev is called libevdev. Libevdev abstracts the evdev ioctls through type-safe interfaces and provides functions to change the appearance of the device. Libevdev shares similarities with the read system call.

It sits below the process that handles input events, in between the kernel and that process.

kernel → libevdev → xf86-input-evdev → X server → X client

For Weston/Wayland compositor, the stack would look like this:

kernel → libevdev → libinputWayland compositor → Wayland client

Since version 1.16 the xorg-xserver obtained support for libinput:

kernel → libevdev → libinput → xf86-input-libinput → X server → X client

evdev is primarily used by display servers like X.org (via xf86-input-evdev driver and libevdev) and Weston, as well as by games and console emulators making use of USB and Bluetooth controllers.

Related Image Collections Add Image
We don't have any YouTube videos related to evdev yet.
We don't have any PDF documents related to evdev yet.
We don't have any Books related to evdev yet.
We don't have any archived web articles related to evdev yet.

See also

  • Linux portal
Wikimedia Commons has media related to Evdev.

References

  1. "Linux Input drivers v1.0" https://www.kernel.org/doc/Documentation/input/input.txt

  2. "freedesktop.org/../libevdev". https://www.freedesktop.org/wiki/Software/libevdev/