diff options
-rw-r--r-- | libsensors/AkmSensor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsensors/AkmSensor.cpp b/libsensors/AkmSensor.cpp index e7e0a4b..6eb10a4 100644 --- a/libsensors/AkmSensor.cpp +++ b/libsensors/AkmSensor.cpp @@ -227,6 +227,9 @@ int AkmSensor::readEvents(sensors_event_t* data, int count) if (type == EV_REL) { processEvent(event->code, event->value); mInputReader.next(); + } else if (type == EV_ABS) { + processEvent(event->code, event->value); + mInputReader.next(); } else if (type == EV_SYN) { int64_t time = timevalToNano(event->time); for (int j=0 ; count && mPendingMask && j<numSensors ; j++) { |