Class representing evdev input. More...
#include <kanzi/core.ui/platform/input_ng/evdev/evdev_input.hpp>
Public Member Functions | |
| EvdevInput (const EvdevInput &)=delete | |
| Copy constructor. | |
| EvdevInput (const std::string &devicePaths, unsigned int width, unsigned int height) | |
| Constructor. | |
| EvdevInput (EvdevInput &&) noexcept=delete | |
| Move constructor. | |
| EvdevInput (unsigned int width, unsigned int height) | |
| Constructor. | |
| void | gatherData (EventQueue &queue) |
| Gather input data into an even queue. | |
| KZ_NO_DISCARD int | getFileDescriptor () const noexcept |
| Gets file descriptor for epoll. | |
| KZ_NO_DISCARD unsigned int | getHeight () const noexcept |
| Gets the touch panel height. | |
| KZ_NO_DISCARD unsigned int | getWidth () const noexcept |
| Gets the touch panel width. | |
| EvdevInput & | operator= (const EvdevInput &)=delete |
| Copy assignment operator. | |
| EvdevInput & | operator= (EvdevInput &&) noexcept=delete |
| Move assignment operator. | |
| ~EvdevInput () | |
| Destructor. | |
Class representing evdev input.
Constructor.
Configures all devices in /dev/input when there is no device name specified.
| width | Touch panel width. |
| height | Touch panel height. |
|
explicit |
Constructor.
Configures the specified devices.
| devicePaths | A semicolon-separated list of input device paths. |
| width | Touch panel width. |
| height | Touch panel height. |
| kanzi::evdev::EvdevInput::~EvdevInput | ( | ) |
Destructor.
|
delete |
Copy constructor.
|
deletenoexcept |
Move constructor.
|
delete |
Copy assignment operator.
|
deletenoexcept |
Move assignment operator.
|
noexcept |
Gets file descriptor for epoll.
|
noexcept |
Gets the touch panel width.
|
noexcept |
Gets the touch panel height.
| void kanzi::evdev::EvdevInput::gatherData | ( | EventQueue & | queue | ) |
Gather input data into an even queue.
| queue | The event queue to save input data into. |