X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=description.h;h=80868e9818675a20fec344da6d51cffa9f93c629;hb=378432a4f0cb62a7189340ee1424a529fcf2085a;hp=2e62673bf8726eda00a67425fca76bde72a2d1bd;hpb=8c426f37d87c2049951809e67e51f424690a3c91;p=android-x86%2Fhardware-intel-libsensors.git diff --git a/description.h b/description.h index 2e62673..80868e9 100644 --- a/description.h +++ b/description.h @@ -13,6 +13,13 @@ #define QUIRK_TERSE_DRIVER 0x08 /* Force duplicate events generation */ #define QUIRK_NOISY 0x10 /* High noise level on readings */ #define QUIRK_FORCE_CONTINUOUS 0x20 /* Force usage of continuous trigger */ +#define QUIRK_BIASED 0x40 /* Biased sensor, requires compensation */ +#define QUIRK_SPOTTY 0x80 /* Driver may lose events */ +#define QUIRK_NO_EVENT_MODE 0x100 /* Disable event mode */ +#define QUIRK_NO_TRIG_MODE 0x200 /* Disable trigger mode */ +#define QUIRK_NO_POLL_MODE 0x400 /* Disable poll mode */ +#define QUIRK_MOUNTING_MATRIX 0x800 /* Mounting information present */ +#define QUIRK_HRTIMER 0x1000 /* We may use a hrtimer if there is no other trigger */ #ifdef __LP64__ typedef uint64_t flag_t; @@ -36,6 +43,7 @@ uint32_t sensor_get_quirks (int s); int sensor_get_prop (int s, const char* sel, int* val); int sensor_get_fl_prop (int s, const char* sel, float* val); int sensor_get_order (int s,unsigned char map[MAX_CHANNELS]); +int sensor_get_mounting_matrix(int s,float mounting_matrix[9]); int sensor_get_cal_steps (int s); char* sensor_get_string_type (int s); int sensor_get_st_prop (int s, const char* sel, char val[MAX_NAME_SIZE]);