9#ifndef LIBEVDEVXX_UINPUT_HPP
10#define LIBEVDEVXX_UINPUT_HPP
17#include <libevdev/libevdev-uinput.h>
35 ::libevdev_uinput*
data() noexcept;
36 const ::libevdev_uinput*
data() const noexcept;
39 int fd() const noexcept;
41 std::optional<std::filesystem::path>
44 std::optional<std::filesystem::path>
73 void operator()(::libevdev_uinput* udev)
const noexcept;
76 std::unique_ptr<::libevdev_uinput, Deleter> udev;
Represents a device (real of not).
Definition: Device.hpp:52
The namespace of libevdevxx.
Definition: AbsInfo.hpp:20
Definition: TypeCode.hpp:23
Type-safe class for evdev codes (KEY_*, BTN_*, REL_*, etc).
Definition: Code.hpp:32