1.10 |
Handles reading input events from evdev devices. More...
#include <inputevdev.h>
Public Member Functions | |
InputEvDev (Application &app, const std::string &path) | |
~InputEvDev () noexcept override | |
Public Member Functions inherited from Input | |
Input () | |
Input (const Input &)=delete | |
Input (Input &&) noexcept | |
virtual | ~Input () noexcept |
Input & | operator= (const Input &)=delete |
Input & | operator= (Input &&) noexcept |
Additional Inherited Members | |
Static Public Member Functions inherited from Input | |
static Object & | global_input () |
Get a reference to the global input Object. | |
Protected Member Functions inherited from Input | |
virtual void | dispatch (Event &event) |
Dispatch an event from this input. | |
Protected Attributes inherited from Input | |
bool | m_dispatching {false} |
Currently dispatching an event when true. | |
std::unique_ptr< detail::MouseGesture > | m_mouse |
The mouse gesture handler for this input. | |
Static Protected Attributes inherited from Input | |
static Object | m_global_handler |
This is the single global input handler. | |
Handles reading input events from evdev devices.
|
explicit |
std::runtime_error | if unable to open device. |
|
overridenoexcept |