sensorfw
|
Adaptor for hybris wakeup sensor. More...
#include <hybriswakeupadaptor.h>
Public Member Functions | |
HybrisWakeupAdaptor (const QString &id) | |
~HybrisWakeupAdaptor () | |
bool | startSensor () |
void | stopSensor () |
Static Public Member Functions | |
static DeviceAdaptor * | factoryMethod (const QString &id) |
Protected Member Functions | |
void | processSample (const sensors_event_t &data) |
Adaptor for hybris wakeup sensor.
Adaptor for wakeup sensor. Provides wakeup events that can be used for example for triggering SneakPeek mode. Sensor value of one means wakeup condition was met. Other values should be ignored. Uses hybris sensor daemon driver interface.
Definition at line 37 of file hybriswakeupadaptor.h.
HybrisWakeupAdaptor::HybrisWakeupAdaptor | ( | const QString & | id | ) |
HybrisWakeupAdaptor::~HybrisWakeupAdaptor | ( | ) |
|
inlinestatic |
Definition at line 42 of file hybriswakeupadaptor.h.
|
protected |
bool HybrisWakeupAdaptor::startSensor | ( | ) |
void HybrisWakeupAdaptor::stopSensor | ( | ) |