17 #include <QtCore/QObject> 18 #include <QtCore/QScopedPointer> 53 QScopedPointer<trikHal::EventFileInterface> mEventFile;
TRIK через пункт меню Программирование добавлена индикация подключения Android геймпада TRIK с возможностью получать сырые события и фильтровать по типу и коду например pad onEvent(Events.Absolute).code(PadEventCodes.X).on.connect(...).-в частности
EventDeviceWorker(const QString &deviceFilePath, DeviceState &state, const trikHal::HardwareAbstractionInterface &hardwareAbstraction)
Constructor.
Definition: eventDeviceWorker.cpp:23
void newEvent(int onEvent, int code, int value, int eventTime)
Emitted when there is new event in an event file.
Worker for generic event device that uses HAL device file to listen to events. Meant to be run in sep...
Definition: eventDeviceWorker.h:27
Helper class to track device state (off, starting, ready, stopping, fail).
Definition: deviceState.h:26
Structure of a time value in a convenient format.
Definition: timeVal.h:20
Definition: trikCommunicator.h:27
Hardware abstraction, provides devices that are used to communicate with robot hardware or emulate it...
Definition: hardwareAbstractionInterface.h:29