s3d_get_callback
get callback of event
- Provided by: s3d-doc (Version: 0.2.2.1-3build1)
- Source: s3d
- Report a bug
get callback of event
#include <s3d.h>
s3d_cb s3d_get_callback(uint8_t event);
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.
Simon Wunderlich