Kore 3
Loading...
Searching...
No Matches
includes
kore3
input
rotation.h
Go to the documentation of this file.
1
#ifndef KORE_INPUT_ROTATION_HEADER
2
#define KORE_INPUT_ROTATION_HEADER
3
4
#include <
kore3/global.h
>
5
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
18
KORE_FUNC
void
kore_rotation_set_callback
(
void
(*value)(
float
/*x*/
,
float
/*y*/
,
float
/*z*/
));
19
20
void
kore_internal_on_rotation(
float
x,
float
y,
float
z);
21
22
#ifdef __cplusplus
23
}
24
#endif
25
26
#endif
global.h
Provides basic functionality that's used all over the place. There's usually no need to manually incl...
kore_rotation_set_callback
KORE_FUNC void kore_rotation_set_callback(void(*value)(float, float, float))
Sets the rotation-callback which is called when the device is rotated. Act quickly when this is calle...
Generated by
1.15.0