Registry / other / libevdev

libevdev

JSON →
library1.13.6vcpkgunverified

Wrapper library for evdev devices, providing a simplified interface to Linux input event devices.

vcpkg install libevdev
INSTALL
IMPORT
SIG · LIBEVDEV
L
libevdev
othercppv1.13.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

libevdev/libevdev.h
#include <libevdev/libevdev.h>

Minimal libevdev usage: open and read device name.

#include <libevdev/libevdev.h> #include <iostream> int main() { struct libevdev* dev = nullptr; int fd = open("/dev/input/event0", O_RDONLY); if (fd >= 0 && libevdev_new_from_fd(fd, &dev) == 0) { std::cout << "Device: " << libevdev_get_name(dev) << "\n"; libevdev_free(dev); } return 0; }
Debug
Known issues
breakinglibevdev is Linux-only; will not compile on other platforms.
fix
Use conditional compilation or platform guards.
affects: all
Upgrade
Version history
1.13.6latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

libevdev — pip install libevdev · libregistry