Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_KeyboardID - This is a unique ID for a keyboard for the time it is connected to the system, and is

Availability

       This datatype is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                              SDL_KeyboardID(3type)

Description

       If the keyboard is disconnected and reconnected, it will get a new ID.

       The value 0 is an invalid ID.

Header File

       Defined in SDL3/SDL_keyboard.h

Name

       SDL_KeyboardID  -  This  is a unique ID for a keyboard for the time it is connected to the system, and is
       never reused for the lifetime of the application.

Synopsis

#include"SDL3/SDL.h"typedefUint32SDL_KeyboardID;

See Also