Original Post
I have some code that is supposed to detect when a key has been pressed and then released before it displays the correct text:
http://ideone.com/1j2Gk
I want both actions to be completed before it changes the text around.
http://ideone.com/XEulf
As you can see, i'm waiting for pressed and released bools to be set before it changes the text around. The problem is, is that it is changing the text as I press the key in, and not waiting until it has popped back out.
Its probably something really simple that i'm missing here so I thought I'd ask you guys.
--
Wisey
http://ideone.com/1j2Gk
I want both actions to be completed before it changes the text around.
http://ideone.com/XEulf
As you can see, i'm waiting for pressed and released bools to be set before it changes the text around. The problem is, is that it is changing the text as I press the key in, and not waiting until it has popped back out.
Its probably something really simple that i'm missing here so I thought I'd ask you guys.
--
Wisey