SDL_HINT_WINDOWS_RAW_KEYBOARD(3)
π SDL_HINT_WINDOWS_RAW_KEYBOARD π
okay bestie, welcome to the manual page for SDL_HINT_WINDOWS_RAW_KEYBOARD β that's the SDL3 functions girlies, and yes this is literally the whole vibe. sit down, sip ur drink, we're gonna talk about keyboards on Windows π¦
β¨ NAME β¨
SDL_HINT_WINDOWS_RAW_KEYBOARD β a variable that controls whether raw keyboard events are used on Windows. that's it. that's the whole name. no cap.
πΈ SYNOPSIS πΈ
so first u gotta pull in the header, like:
#include <SDL3/SDL_hints.h>
and then the define itself, character for character, do not touch it:
#define SDL_HINT_WINDOWS_RAW_KEYBOARD "SDL_WINDOWS_RAW_KEYBOARD"
she's iconic, she's simple, she's giving "just a string" energy π
π DESCRIPTION π
okay so here's the tea. this variable can be set to the following values:
- "0" β the Windows message loop is used for keyboard events. this is the default, so if u don't say anything, this is what u get. lowkey the classic route π«Ά
- "1" β low latency raw keyboard events are used. highkey for when u want that instant response, the keyboard equivalent of replying to the group chat in 0.2 seconds π₯
bestie note: this hint can be set anytime. no timing drama, no "omg u missed the window", just set it whenever, periodt.
π AVAILABILITY π
this hint is available since SDL 3.2.0. if ur on anything older, sorry babe, she's not there yet π
and that's the whole page! mwah π
this was brought to u by Simple Directmedia Layer, version SDL 3.4.18, and it's the SDL_HINT_WINDOWS_RAW_KEYBOARD(3) page β slay, bye bestie πβ¨ππ¦
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms