19void kinc_internal_on_acceleration(
float x,
float y,
float z);
21#ifdef KINC_IMPLEMENTATION_INPUT
22#define KINC_IMPLEMENTATION
25#ifdef KINC_IMPLEMENTATION
30void (*acceleration_callback)(
float ,
float ,
float ) = NULL;
33 acceleration_callback = value;
36void kinc_internal_on_acceleration(
float x,
float y,
float z) {
37 if (acceleration_callback != NULL) {
38 acceleration_callback(x, y, z);
KINC_FUNC void kinc_acceleration_set_callback(void(*value)(float, float, float))
Sets the acceleration-callback which is called with measured acceleration-data in three dimensions.
Provides basic functionality that's used all over the place. There's usually no need to manually incl...