diff --git a/debian/control b/debian/control index a9133f0..3ca0a52 100644 --- a/debian/control +++ b/debian/control @@ -17,6 +17,6 @@ Section: libs Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, - libsensorfw-qt5-plugins, + libsensorfw-qt5-plugins (>= 0.14.0), Description: Provides android sensors HAL using libgbinder to waydroid Using sensorfw dbus and socket. diff --git a/sensorfw-core/include/datatypes/genericdata.h b/sensorfw-core/include/datatypes/genericdata.h index 877f77e..a002161 100644 --- a/sensorfw-core/include/datatypes/genericdata.h +++ b/sensorfw-core/include/datatypes/genericdata.h @@ -65,11 +65,11 @@ class TimedXyzData : public TimedData * @param y Y coordinate. * @param z Z coordinate. */ - TimedXyzData(const uint64_t& timestamp, int x, int y, int z) : TimedData(timestamp), x_(x), y_(y), z_(z) {} + TimedXyzData(const uint64_t& timestamp, float x, float y, float z) : TimedData(timestamp), x_(x), y_(y), z_(z) {} - int x_; /**< X value */ - int y_; /**< Y value */ - int z_; /**< Z value */ + float x_; /**< X value */ + float y_; /**< Y value */ + float z_; /**< Z value */ }; #endif // GENERICDATA_H diff --git a/sensorfw-core/include/datatypes/touchdata.h b/sensorfw-core/include/datatypes/touchdata.h index 56ff152..6b44737 100644 --- a/sensorfw-core/include/datatypes/touchdata.h +++ b/sensorfw-core/include/datatypes/touchdata.h @@ -26,7 +26,7 @@ #ifndef TOUCHDATA_H #define TOUCHDATA_H -#include +#include "genericdata.h" /** * @brief Datatype for device touchscreen events.