libevdevxx 0.4.0
A C++ wrapper for libevdev.
|
A class to send events to a virtual device. More...
#include <Uinput.hpp>
Public Member Functions | |
Uinput (const Device &dev) | |
Uinput (const Device &dev, int filedes) | |
::libevdev_uinput * | data () noexcept |
const ::libevdev_uinput * | data () const noexcept |
int | fd () const noexcept |
std::optional< std::filesystem::path > | syspath () noexcept |
std::optional< std::filesystem::path > | devnode () noexcept |
void | write (Type type, Code code, int value) |
void | write (TypeCode type_code, int value) |
void | write (const Event &event) |
void | syn (Code code, int value) |
void | key (Code code, int value) |
void | rel (Code code, int value) |
void | abs (Code code, int value) |
void | msc (Code code, int value) |
void | sw (Code code, int value) |
void | led (Code code, int value) |
void | snd (Code code, int value) |
void | rep (Code code, int value) |
void | ff (Code code, int value) |
void | pwr (Code code, int value) |
void | ff_status (Code code, int value) |
void | flush () |
A class to send events to a virtual device.
void abs | ( | Code | code, |
int | value | ||
) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
void ff | ( | Code | code, |
int | value | ||
) |
void ff_status | ( | Code | code, |
int | value | ||
) |
void flush | ( | ) |
void key | ( | Code | code, |
int | value | ||
) |
void led | ( | Code | code, |
int | value | ||
) |
void msc | ( | Code | code, |
int | value | ||
) |
void pwr | ( | Code | code, |
int | value | ||
) |
void rel | ( | Code | code, |
int | value | ||
) |
void rep | ( | Code | code, |
int | value | ||
) |
void snd | ( | Code | code, |
int | value | ||
) |
void sw | ( | Code | code, |
int | value | ||
) |
void syn | ( | Code | code, |
int | value | ||
) |
|
noexcept |
void write | ( | const Event & | event | ) |
void write | ( | TypeCode | type_code, |
int | value | ||
) |