8#ifndef LIBEVDEVXX_EVENT_HPP
9#define LIBEVDEVXX_EVENT_HPP
20#include <libevdev/libevdev.h>
31 decltype(::input_event::input_event_sec)
sec{};
32 decltype(::input_event::input_event_usec)
usec{};
46 sec{e.input_event_sec},
47 usec{e.input_event_usec},
59 sec = e.input_event_sec;
60 usec = e.input_event_usec;
68 operator ::input_event()
72 r.input_event_sec =
sec;
73 r.input_event_usec =
usec;
The namespace of libevdevxx.
Definition AbsInfo.hpp:18
std::string to_string(const AbsInfo &info)
std::ostream & operator<<(std::ostream &out, const AbsInfo &info)
Type-safe class for evdev codes (KEY_*, BTN_*, REL_*, etc).
Definition Code.hpp:30
decltype(::input_event::input_event_sec) sec
Definition Event.hpp:31
operator::input_event() const noexcept
Definition Event.hpp:68
constexpr Event & operator=(const ::input_event &e) noexcept
Definition Event.hpp:56
Type type
Definition Event.hpp:33
constexpr Event() noexcept=default
decltype(::input_event::input_event_usec) usec
Definition Event.hpp:32
std::int32_t value
Definition Event.hpp:35
Code code
Definition Event.hpp:34