Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upUser input #985
Comments
This comment has been minimized.
This comment has been minimized.
|
To implement text input, you will need to capture several keystrokes and concatenate their text values together as a string. You can also handle the backspace , delete and arrow keys to allow more comfortable editing. The example https://github.com/liballeg/allegro5/blob/master/examples/nihgui.cpp#L781 shows how this can be done in the small GUI library that we use for the examples. |
SiegeLord
added
the
Documentation
label
Apr 1, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
May-Medhat commentedJan 18, 2019
Kindly, I am new to allegro I searched a lot but I could not figure how to take input from user as ID or name in allegro 5 I used event keyboard char it accept only one value to select an option for example.