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

Provides touch-support. More...

#include <kinc/global.h>

Go to the source code of this file.

Functions

KINC_FUNC void kinc_surface_set_touch_start_callback (void(*value)(int, int, int))
 Sets the surface-touch-start-callback which is called when a finger-touch is detected.
KINC_FUNC void kinc_surface_set_move_callback (void(*value)(int, int, int))
 Sets the surface-move-callback which is called when a finger is moving around.
KINC_FUNC void kinc_surface_set_touch_end_callback (void(*value)(int, int, int))
 Sets the surface-touch-end-callback which is called when a finger disappears. This is usually not a medical emergency.

Detailed Description

Provides touch-support.

Function Documentation

◆ kinc_surface_set_move_callback()

KINC_FUNC void kinc_surface_set_move_callback ( void(* value )(int, int, int))

Sets the surface-move-callback which is called when a finger is moving around.

Parameters
valueThe callback

◆ kinc_surface_set_touch_end_callback()

KINC_FUNC void kinc_surface_set_touch_end_callback ( void(* value )(int, int, int))

Sets the surface-touch-end-callback which is called when a finger disappears. This is usually not a medical emergency.

Parameters
valueThe callback

◆ kinc_surface_set_touch_start_callback()

KINC_FUNC void kinc_surface_set_touch_start_callback ( void(* value )(int, int, int))

Sets the surface-touch-start-callback which is called when a finger-touch is detected.

Parameters
valueThe callback