---
name: "s3d_get_callback"
section: "3"
platform: "linux"
package: "s3d-doc"
version: "0.2.2.1-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/s3d_get_callback"
---

# s3d\_get\_callback(3)

get callback of event

## 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
