Hi! i want know which key is pressed but like string, like STDIN.gets(), i'm using this code:
def button_down(key)
char = (key + 93).chr
end
That work only with letters but no space key and numbers.
It's for my TextInput class no Gosu's TextInput. Please help me i dont want define each key.
Loading...