X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=description.h;h=9dffeec2a81bfb658ce1b881a0511e2b13ec8463;hb=87a01bcdfc434f31b7a2a7d5bac85be94ab90526;hp=aef3f212f4e623753dfdf8ccd6afc77d8bdd7fc2;hpb=be25f03c702f4ca2834c789cf808fe68e6220c4f;p=android-x86%2Fhardware-intel-libsensors.git diff --git a/description.h b/description.h index aef3f21..9dffeec 100644 --- a/description.h +++ b/description.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 Intel Corporation. + * Copyright (C) 2014-2015 Intel Corporation. */ #ifndef __DESCRIPTION_H__ @@ -13,6 +13,8 @@ #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 */ #ifdef __LP64__ typedef uint64_t flag_t; @@ -38,5 +40,6 @@ 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_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]); #endif