libevdevxx 0.4.0
A C++ wrapper for libevdev.
Loading...
Searching...
No Matches
Type Class Reference

#include <Type.hpp>

Public Member Functions

constexpr Type () noexcept=default
 
constexpr Type (std::uint16_t number)
 

Static Public Member Functions

static Type parse (std::string_view name, std::size_t *pos=nullptr)
 
static constexpr Type max () noexcept
 
static constexpr std::uint16_t count () noexcept
 

Static Public Attributes

static const Type syn {EV_SYN }
 
static const Type key {EV_KEY }
 
static const Type rel {EV_REL }
 
static const Type abs {EV_ABS }
 
static const Type msc {EV_MSC }
 
static const Type sw {EV_SW }
 
static const Type led {EV_LED }
 
static const Type snd {EV_SND }
 
static const Type rep {EV_REP }
 
static const Type ff {EV_FF }
 
static const Type pwr {EV_PWR }
 
static const Type ff_status {EV_FF_STATUS }
 

Constructor & Destructor Documentation

◆ Type() [1/2]

constexpr Type ( )
constexprdefaultnoexcept

◆ Type() [2/2]

constexpr Type ( std::uint16_t  number)
inlineexplicitconstexpr

Member Function Documentation

◆ count()

static constexpr std::uint16_t count ( )
inlinestaticconstexprnoexcept

◆ max()

static constexpr Type max ( )
inlinestaticconstexprnoexcept

◆ parse()

static Type parse ( std::string_view  name,
std::size_t *  pos = nullptr 
)
static

Member Data Documentation

◆ abs

constexpr const Type abs {EV_ABS }
inlinestaticconstexpr

◆ ff

constexpr const Type ff {EV_FF }
inlinestaticconstexpr

◆ ff_status

constexpr const Type ff_status {EV_FF_STATUS }
inlinestaticconstexpr

◆ key

constexpr const Type key {EV_KEY }
inlinestaticconstexpr

◆ led

constexpr const Type led {EV_LED }
inlinestaticconstexpr

◆ msc

constexpr const Type msc {EV_MSC }
inlinestaticconstexpr

◆ pwr

constexpr const Type pwr {EV_PWR }
inlinestaticconstexpr

◆ rel

constexpr const Type rel {EV_REL }
inlinestaticconstexpr

◆ rep

constexpr const Type rep {EV_REP }
inlinestaticconstexpr

◆ snd

constexpr const Type snd {EV_SND }
inlinestaticconstexpr

◆ sw

constexpr const Type sw {EV_SW }
inlinestaticconstexpr

◆ syn

constexpr const Type syn {EV_SYN }
inlinestaticconstexpr

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