Kore
Loading...
Searching...
No Matches
rotation.h File Reference

Provides support for rotation-sensors. More...

#include <kinc/global.h>

Go to the source code of this file.

Functions

KINC_FUNC void kinc_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 called for a desktop-system.

Detailed Description

Provides support for rotation-sensors.

Function Documentation

◆ kinc_rotation_set_callback()

KINC_FUNC void kinc_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 called for a desktop-system.

Parameters
valueThe callback