|
| Uinput (std::nullptr_t p=nullptr) noexcept |
|
| Uinput (const Device &dev, int fd=LIBEVDEV_UINPUT_OPEN_MANAGED) |
|
| ~Uinput () noexcept |
|
| Uinput (Uinput &&other) noexcept |
| Move constructor.
|
|
Uinput & | operator= (Uinput &&other) noexcept |
| Move assignment.
|
|
void | create (const Device &dev, int fd=LIBEVDEV_UINPUT_OPEN_MANAGED) |
|
void | destroy () noexcept override |
|
int | get_fd () const noexcept |
|
std::filesystem::path | get_syspath () const |
|
std::optional< std::filesystem::path > | try_get_syspath () const |
|
std::filesystem::path | get_devnode () const |
|
std::optional< std::filesystem::path > | try_get_devnode () const |
|
void | write (Type type, Code code, int value) |
|
void | write (TypeCode type_code, int value) |
|
void | write (const Event &event) |
|
void | write_syn (Code code, int value) |
|
void | write_key (Code code, int value) |
|
void | write_rel (Code code, int value) |
|
void | write_abs (Code code, int value) |
|
void | write_msc (Code code, int value) |
|
void | write_sw (Code code, int value) |
|
void | write_led (Code code, int value) |
|
void | write_snd (Code code, int value) |
|
void | write_rep (Code code, int value) |
|
void | write_ff (Code code, int value) |
|
void | write_pwr (Code code, int value) |
|
void | write_ff_status (Code code, int value) |
|
void | flush () |
|
constexpr | basic_wrapper () noexcept=default |
|
constexpr | basic_wrapper (libevdev_uinput *src) noexcept |
|
constexpr | basic_wrapper (basic_wrapper &&other) noexcept |
| Move constructor.
|
|
basic_wrapper & | operator= (basic_wrapper &&other) noexcept |
| Move assignment.
|
|
bool | is_valid () const noexcept |
|
| operator bool () const noexcept |
|
raw_type | data () noexcept |
|
const raw_type | data () const noexcept |
|
void | acquire (state_type new_state) noexcept |
|
state_type | release () noexcept |
|
constexpr | basic_wrapper () noexcept=default |
|
constexpr | basic_wrapper (libevdev_uinput *src) noexcept |
|
constexpr | basic_wrapper (basic_wrapper &&other) noexcept |
| Move constructor.
|
|
basic_wrapper & | operator= (basic_wrapper &&other) noexcept |
| Move assignment.
|
|
bool | is_valid () const noexcept |
|
| operator bool () const noexcept |
|
raw_type | data () noexcept |
|
const raw_type | data () const noexcept |
|
void | acquire (state_type new_state) noexcept |
|
state_type | release () noexcept |
|
A class to send events to a virtual device.