SDL_KeyboardDeviceEvent - Keyboard device event structure (event.kdevice.*)
Contents
Availability
This struct is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_KeyboardDeviceEvent(3type)
Name
SDL_KeyboardDeviceEvent - Keyboard device event structure (event.kdevice.*)
Synopsis
#include<SDL3/SDL_events.h>typedefstructSDL_KeyboardDeviceEvent{SDL_EventTypetype;/**<SDL_EVENT_KEYBOARD_ADDEDorSDL_EVENT_KEYBOARD_REMOVED*/Uint32reserved;Uint64timestamp;/**<Innanoseconds,populatedusingSDL_GetTicksNS()*/SDL_KeyboardIDwhich;/**<Thekeyboardinstanceid*/}SDL_KeyboardDeviceEvent;