X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=description.h;h=80868e9818675a20fec344da6d51cffa9f93c629;hb=7b6c078;hp=3e0a72425e91cfa518aa33f2c13d2e0af0c47918;hpb=823fab6b5d92a8433d80687d9c16755b4c09be60;p=android-x86%2Fhardware-intel-libsensors.git diff --git a/description.h b/description.h index 3e0a724..80868e9 100644 --- a/description.h +++ b/description.h @@ -18,6 +18,8 @@ #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; @@ -41,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]);