25 #ifndef PRESSUREADAPTOR_H
26 #define PRESSUREADAPTOR_H
28 #include "inputdevadaptor.h"
29 #include "deviceadaptorringbuffer.h"
68 DeviceAdaptorRingBuffer<TimedUnsigned>* pressureBuffer_;
70 unsigned pressureValue_;
72 void interpretEvent(
int src,
struct input_event *ev);
73 void commitOutput(
struct input_event *ev);
74 void interpretSync(
int src,
struct input_event *ev);
75 QByteArray powerStatePath_;
virtual bool startSensor()
virtual void stopSensor()
static DeviceAdaptor * factoryMethod(const QString &id)
Factory method for gaining a new instance of AccelerometerAdaptor class.
PressureAdaptor(const QString &id)
Constructor.
virtual unsigned int evaluateIntervalRequests(int &sessionId) const
Reimplement to allow for 0 interval to be the slowest entry.
Datatypes for different filters.