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