Kore 3
Loading...
Searching...
No Matches
includes
kore3
input
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
11
extern
"C"
{
12
#endif
13
18
KORE_FUNC
void
kore_acceleration_set_callback
(
void
(*value)(
float
/*x*/
,
float
/*y*/
,
float
/*z*/
));
19
20
void
kore_internal_on_acceleration(
float
x,
float
y,
float
z);
21
22
#ifdef __cplusplus
23
}
24
#endif
25
26
#endif
kore_acceleration_set_callback
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.
global.h
Provides basic functionality that's used all over the place. There's usually no need to manually incl...
Generated by
1.15.0