uTouch-Evemu input device for replaying events through the Linux uinput evdev subsystem.
More...
Public Member Functions |
| Device (const std::string &path) |
| Create a new device context.
|
void | Play (const std::string &path) const |
| Play a uTouch-Evemu recording through the device.
|
Detailed Description
uTouch-Evemu input device for replaying events through the Linux uinput evdev subsystem.
Use the Recording class to play back a specific recording.
Constructor & Destructor Documentation
xorg::testing::evemu::Device::Device |
( |
const std::string & |
path | ) |
|
|
explicit |
Create a new device context.
- Parameters
-
[in] | path | Path to uTouch-Evemu device property file. |
- Exceptions
-
std::runtime_error | if the device property file could not be found or the device could not be created. |
Member Function Documentation
void xorg::testing::evemu::Device::Play |
( |
const std::string & |
path | ) |
const |
Play a uTouch-Evemu recording through the device.
Plays the recording from the beginning through the end. This call will block until the recording has finished.
- Parameters
-
[in] | path | Path to uTouch-Evemu recording file. |
- Exceptions
-
std::runtime_error | if playback failed for any reason. |
The documentation for this class was generated from the following file:
- /build/buildd/xorg-gtest-0.3.0/include/xorg/gtest/evemu/xorg-gtest_device.h