libevdevxx 0.4.0
A C++ wrapper for libevdev.
Loading...
Searching...
No Matches
Event Struct Reference

#include <Event.hpp>

Public Member Functions

constexpr Event () noexcept=default
 
constexpr Event (const ::input_event &e) noexcept
 
constexpr Eventoperator= (const ::input_event &e) noexcept
 
 operator::input_event () const noexcept
 

Public Attributes

std::uint32_t sec {}
 
std::uint32_t usec {}
 
Type type
 
Code code
 
std::int32_t value {}
 

Constructor & Destructor Documentation

◆ Event() [1/2]

constexpr Event ( )
constexprdefaultnoexcept

◆ Event() [2/2]

constexpr Event ( const ::input_event e)
inlineconstexprnoexcept

Member Function Documentation

◆ operator::input_event()

operator::input_event ( ) const
inlinenoexcept

◆ operator=()

constexpr Event & operator= ( const ::input_event e)
inlineconstexprnoexcept

Member Data Documentation

◆ code

Code code

◆ sec

std::uint32_t sec {}

◆ type

Type type

◆ usec

std::uint32_t usec {}

◆ value

std::int32_t value {}

The documentation for this struct was generated from the following file: