Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

evdev

From Wikipedia, the free encyclopedia
Linux kernel interface for input events
Not to be confused witheudev.
Evdev and libevdev form a prominent part of theLinux API.

evdev (short for 'event device') is a generic input event interface in theLinux kernel andFreeBSD.[1] It generalizes raw input events fromdevice drivers and makes them available throughcharacter devices in the/dev/input/ directory.

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

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

ForWeston/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 bydisplay servers likeX.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.

See also

[edit]
Wikimedia Commons has media related toEvdev.

References

[edit]
  1. ^"Linux Input drivers v1.0"
  2. ^"freedesktop.org/../libevdev".

External links

[edit]
Organization
Kernel
Support
People
Technical
Debugging
Startup
ABIs
APIs
Kernel
System Call
Interface
In-kernel
Userspace
Daemons,
File systems
Wrapper
libraries
Components
Variants
Virtualization
Adoption
Range
of use
Adopters


Stub icon

ThisLinux-related article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Evdev&oldid=1242603349"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp