|
libevdevxx 0.5.3
A C++ wrapper for libevdev.
|
The namespace of libevdevxx. More...
Namespaces | |
| namespace | detail |
Classes | |
| struct | AbsInfo |
Maps to the input_absinfo struct from linux/input.h. More... | |
| struct | Code |
Type-safe class for evdev codes (KEY_*, BTN_*, REL_*, etc). More... | |
| class | Device |
| Represents a device (real or not). More... | |
| struct | Event |
| class | Grabber |
| RAII class to call Device::grab() and Device::ungrab() on a device. More... | |
| class | Property |
| struct | SyncError |
| class | Type |
| struct | TypeCode |
| class | Uinput |
| A class to send events to a virtual device. More... | |
Enumerations | |
| enum | ReadFlag : unsigned { normal = LIBEVDEV_READ_FLAG_NORMAL , resync = LIBEVDEV_READ_FLAG_SYNC , force_sync = LIBEVDEV_READ_FLAG_FORCE_SYNC , blocking = LIBEVDEV_READ_FLAG_BLOCKING } |
| enum | ReadStatus : int { success = LIBEVDEV_READ_STATUS_SUCCESS , dropped = LIBEVDEV_READ_STATUS_SYNC , again = -EAGAIN } |
Functions | |
| std::string | to_string (const AbsInfo &info) |
| std::ostream & | operator<< (std::ostream &out, const AbsInfo &info) |
| std::string | code_to_string (Type type, Code code) |
| Converts the code to a string representation. | |
| std::string | to_string (const Event &e) |
| std::ostream & | operator<< (std::ostream &out, const Event &e) |
| std::string | to_string (Property prop) |
| std::ostream & | operator<< (std::ostream &out, Property prop) |
| std::istream & | operator>> (std::istream &in, Property &prop) |
| constexpr ReadFlag | operator| (ReadFlag a, ReadFlag b) noexcept |
| constexpr ReadFlag | operator& (ReadFlag a, ReadFlag b) noexcept |
| constexpr ReadFlag | operator^ (ReadFlag a, ReadFlag b) noexcept |
| constexpr ReadFlag | operator~ (ReadFlag a) noexcept |
| constexpr ReadFlag & | operator|= (ReadFlag &a, ReadFlag b) |
| constexpr ReadFlag & | operator&= (ReadFlag &a, ReadFlag b) |
| std::string | to_string (ReadFlag flag) |
| std::ostream & | operator<< (std::ostream &out, ReadFlag flag) |
| std::string | to_string (ReadStatus st) |
| std::ostream & | operator<< (std::ostream &out, ReadStatus st) |
| std::string | to_string (Type type) |
| std::ostream & | operator<< (std::ostream &out, Type type) |
| std::pair< std::string, std::string > | to_strings (const TypeCode &tc) |
The namespace of libevdevxx.
| enum ReadFlag : unsigned |
| enum ReadStatus : int |
Converts the code to a string representation.
| std::ostream & operator<< | ( | std::ostream & | out, |
| const AbsInfo & | info ) |
| std::ostream & operator<< | ( | std::ostream & | out, |
| const Event & | e ) |
| std::ostream & operator<< | ( | std::ostream & | out, |
| Property | prop ) |
| std::ostream & operator<< | ( | std::ostream & | out, |
| ReadFlag | flag ) |
| std::ostream & operator<< | ( | std::ostream & | out, |
| ReadStatus | st ) |
| std::ostream & operator<< | ( | std::ostream & | out, |
| Type | type ) |
| std::istream & operator>> | ( | std::istream & | in, |
| Property & | prop ) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |