s3d_get_callback

Langue: en

Version: 286298 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

s3d_get_callback - get callback of event

SYNOPSIS

 #include <s3d.h>
 
s3d_cb s3d_get_callback(uint8_t event);

DESCRIPTION

Returns the Callback-function of the event.
  struct s3d_evt e;
  ...
  s3d_get_callback(S3D_EVENT_KEY)(e);
  // will call the key-handling function with argument e.
 

AUTHOR

Simon Wunderlich

Author of s3d