You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.
At the moment keyboard package can be used for checking the state of the keyboard. This is enough for most games. But some games have text input fields and support entering diacritic characters. They take also into the consideration the layout of the keyboard.
The API might be a new package which will provide some kind of buffer:
text:=textinput.New(window)
text.Update() // standard Update() method executed each frametext.Text() // text entered so far in UTF-8 (normal Go string)text.Clear() // clear the buffer
The text was updated successfully, but these errors were encountered:
At the moment keyboard package can be used for checking the state of the keyboard. This is enough for most games. But some games have text input fields and support entering diacritic characters. They take also into the consideration the layout of the keyboard.
The API might be a new package which will provide some kind of buffer:
The text was updated successfully, but these errors were encountered: