Kore 3
Loading...
Searching...
No Matches
acceleration.h
Go to the documentation of this file.
1#ifndef KORE_INPUT_ACCELERATION_HEADER
2#define KORE_INPUT_ACCELERATION_HEADER
3
4#include <kore3/global.h>
5
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
18KORE_FUNC void kore_acceleration_set_callback(void (*value)(float /*x*/, float /*y*/, float /*z*/));
19
20void kore_internal_on_acceleration(float x, float y, float z);
21
22#ifdef __cplusplus
23}
24#endif
25
26#endif
KORE_FUNC void kore_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...