Return whether a keyboard is currently connected.
Defined in <SDL3/SDL_keyboard.h>
bool SDL_HasKeyboard(void);
(bool) Returns true if a keyboard is connected, false otherwise.
This function should only be called on the main thread.
This function is available since SDL 3.1.3.