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

# SDL\_HINT\_WINDOWS\_RAW\_KEYBOARD(3)

A variable controlling whether raw keyboard events are used on Windows.

## NAME

SDL\_HINT\_WINDOWS\_RAW\_KEYBOARD - A variable controlling whether raw keyboard events are used on Windows.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_WINDOWS\_RAW\_KEYBOARD** *SDL\_WINDOWS\_RAW\_KEYBOARD"*

## DESCRIPTION

The variable can be set to the following values:

• "0": The Windows message loop is used for keyboard events. (default)

• "1": Low latency raw keyboard events are used.

This hint can be set anytime.

## AVAILABILITY

This hint is available since SDL 3.2.0.
