A conditional I'm using to break out of a loop is as follows.
How would I change it to wait for non-ASCII keystrokes, like Esc?Code:if(InRec.Event.KeyEvent.uChar.AsciiChar == 'x')
{
break;
}
Printable View
A conditional I'm using to break out of a loop is as follows.
How would I change it to wait for non-ASCII keystrokes, like Esc?Code:if(InRec.Event.KeyEvent.uChar.AsciiChar == 'x')
{
break;
}
To tell the truth, I made this a long time ago *sigh*. I do not remember well how, but if you want a pointer search for the inportb function.
It accepts a integer , that is what you want to ¨listen¨ to.
Whoa. I'm not sure what you're talking about on that one. I'm pretty sure this method will handle it, I'm just not sure how to modify it to do so.
Replace 'x' with 0x1b, the ASCII value of ESC.
Shweet. Thanks.
P.S. I learned this method from your tutorial in the first place, so thanks again.