Scroll to navigation

SDL_HINT_WINDOWS_GAMEINPUT(3) SDL3 FUNCTIONS SDL_HINT_WINDOWS_GAMEINPUT(3)

NAME

SDL_HINT_WINDOWS_GAMEINPUT - A variable controlling whether GameInput is used for raw keyboard and mouse on Windows.

HEADER FILE

Defined in SDL3/SDL_hints.h

SYNOPSIS

#include "SDL3/SDL.h"
#define SDL_HINT_WINDOWS_GAMEINPUT   SDL_WINDOWS_GAMEINPUT"

DESCRIPTION

The variable can be set to the following values:

• "0": GameInput is not used for raw keyboard and mouse events.

• "1": GameInput is used for raw keyboard and mouse events, if available.
(default)

This hint should be set before SDL is initialized.

AVAILABILITY

This hint is available since SDL 3.1.3.

SDL 3.1.6 Simple Directmedia Layer