VSF Documented
|
Go to the source code of this file.
Data Structures | |
struct | vk_sensor_info_t |
struct | vk_sensor_evt_t |
Macros | |
#define | vsf_input_sensor_set(__event, __type, __subtype, __min, __max, __res, __value) |
#define | vsf_input_sensor_get_type(__event) ((vk_sensor_type_t)(((__event)->id >> 0) & 0xFFFFFFFF)) |
#define | vsf_input_sensor_get_subtype(__event) ((vk_sensor_subtype_t)(((__event)->id >> 32) & 0xFFFFFFFF)) |
Typedefs | |
typedef enum vk_sensor_type_t | vk_sensor_type_t |
typedef enum vk_sensor_subtype_t | vk_sensor_subtype_t |
typedef struct vk_sensor_info_t | vk_sensor_info_t |
typedef struct vk_sensor_evt_t | vk_sensor_evt_t |
Enumerations | |
enum | { VSF_INPUT_TYPE_SENSOR = VSF_INPUT_USER_TYPE } |
enum | vk_sensor_type_t { SENSOR_TYPE_ACC , SENSOR_TYPE_GYRO , SENSOR_TYPE_MAG , SENSOR_TYPE_USER } |
enum | vk_sensor_subtype_t { SENSOR_SUBTYPE_X , SENSOR_SUBTYPE_Y , SENSOR_SUBTYPE_Z , SENSOR_SUBTYPE_PITCH = SENSOR_SUBTYPE_X , SENSOR_SUBTYPE_YAW = SENSOR_SUBTYPE_Y , SENSOR_SUBTYPE_ROLL = SENSOR_SUBTYPE_Z , SENSOR_SUBTYPE_USER } |
#define vsf_input_sensor_set | ( | __event, | |
__type, | |||
__subtype, | |||
__min, | |||
__max, | |||
__res, | |||
__value | |||
) |
#define vsf_input_sensor_get_type | ( | __event | ) | ((vk_sensor_type_t)(((__event)->id >> 0) & 0xFFFFFFFF)) |
#define vsf_input_sensor_get_subtype | ( | __event | ) | ((vk_sensor_subtype_t)(((__event)->id >> 32) & 0xFFFFFFFF)) |
typedef enum vk_sensor_type_t vk_sensor_type_t |
typedef enum vk_sensor_subtype_t vk_sensor_subtype_t |
typedef struct vk_sensor_info_t vk_sensor_info_t |
typedef struct vk_sensor_evt_t vk_sensor_evt_t |
enum vk_sensor_type_t |
enum vk_sensor_subtype_t |