Keyboard text input functions

Remaining keyboard functions apart from `SDL_GetKeyboardState`.