Searched refs:KIONIX_UNIT_CONVERSION (Results 1 – 1 of 1) sorted by relevance
34 #define KIONIX_UNIT_CONVERSION(value) ((value) * GRAVITY_EARTH / (1024.0f)) macro66 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()69 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()72 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()180 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(value); in readEvents()182 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(value); in readEvents()184 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(value); in readEvents()