-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Milestone
Description
Using SDL_StartTextInputWithProperties you can specify a SDL_TextInputType such as SDL_TEXTINPUT_TYPE_NUMBER this is great for mobile platforms since the on screen keyboards limits the output of what SDL_TextInputEvent.text could be because the screen keyboard only displays the characters associated with numbers, letters, symbols based on the SDL_TextInputType
But since desktop platforms use the keyboard they completely ignore the SDL_TextInputType and output whatever was pressed to SDL_TextInputEvent.text
Is there a way to enforce the type so the SDL_TextInputEvent.text only displays what was allowed when providing a type with SDL_StartTextInputWithProperties or am I just best off building my own TextInput system myself?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels