9#ifndef LIBEVDEVXX_EVENT_HPP
10#define LIBEVDEVXX_EVENT_HPP
21#include <libevdev/libevdev.h>
48 sec{e.input_event_sec},
49 usec{e.input_event_usec},
61 sec = e.input_event_sec;
62 usec = e.input_event_usec;
70 operator ::input_event() const noexcept
73 r.input_event_sec =
sec;
74 r.input_event_usec =
usec;
The namespace of libevdevxx.
Definition: AbsInfo.hpp:20
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:32
operator::input_event() const noexcept
Definition: Event.hpp:70
std::uint32_t sec
Definition: Event.hpp:33
constexpr Event & operator=(const ::input_event &e) noexcept
Definition: Event.hpp:58
std::uint32_t usec
Definition: Event.hpp:34
Type type
Definition: Event.hpp:35
constexpr Event() noexcept=default
std::int32_t value
Definition: Event.hpp:37
Code code
Definition: Event.hpp:36