From 1269590dfc24144a67777ad11c8e41a60c837026 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 7 Feb 2024 09:33:27 -0800 Subject: [PATCH] Clarified that SDL scancodes are unaffected by keyboard layout --- include/SDL3/SDL_scancode.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/SDL3/SDL_scancode.h b/include/SDL3/SDL_scancode.h index 6d3728dd2..336d6f0ba 100644 --- a/include/SDL3/SDL_scancode.h +++ b/include/SDL3/SDL_scancode.h @@ -33,6 +33,9 @@ /** * The SDL keyboard scancode representation. * + * An SDL scancode is the physical representation of a key on the keyboard, + * independent of language and keyboard mapping. + * * Values of this type are used to represent keyboard keys, among other places * in the \link SDL_Keysym::scancode key.keysym.scancode \endlink field of the * SDL_Event structure.