Hi all, I’ve made a really basic keyboard class that holds the states of each key, which are for me (pressed and not pressed). I’ve made the half of the class logs key presses and allows you to check whether a specific key is currently pressed. I’m just wondering how I would go about implementing a key buffer, so that I can allow the user to, for example, type characters and have the text be inserted somewhere within the program. Could anyone explain to me how this would typically be done? Any tutorials anyone has would be great too.
Thanks in advance,
Paul