---
name: "SDL_CommonEvent"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_CommonEvent"
---

# SDL\_CommonEvent(3type)

Fields shared by every event

## NAME

SDL\_CommonEvent - Fields shared by every event

## HEADER FILE

Defined in SDL3/SDL\_events.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef struct SDL\_CommonEvent** **{**     **Uint32 type;        /\*\*\< Event type, shared with all events, Uint32 to cover user events which are not in the SDL\_EventType enumeration \*/**     **Uint32 reserved;**     **Uint64 timestamp;   /\*\*\< In nanoseconds, populated using SDL\_GetTicksNS() \*/** **} SDL\_CommonEvent;**

## AVAILABILITY

This struct is available since SDL 3.2.0.
