nymea-plugins/linuxinput/inputdeviceeventmonitor.h
2024-12-04 09:20:36 +01:00

25 lines
456 B
C++

#ifndef INPUTDEVICEEVENTMONITOR_H
#define INPUTDEVICEEVENTMONITOR_H
#include <QObject>
class InputDeviceEventMonitor : public QObject
{
Q_OBJECT
public:
explicit InputDeviceEventMonitor(const QString &fileName, QObject *parent = nullptr);
public slots:
void process();
signals:
void eventOccurred(quint16 type, quint16 code, qint32 value);
void finished();
private:
QString m_fileName;
};
#endif // INPUTDEVICEEVENTMONITOR_H