C
Chris Morris
I'm trying to properly write a way to capture an Alt+F4 keystroke, and
I'm not finding the right constant for the Alt key. Here's what I've
currently got, and it works, but obviously isn't the 'correct' way to
&& out the Alt key from the evt.state:
if (evt.state == 24) && (evt.code == KEY_F4)
exit
else
...
end
I'm not finding the right constant for the Alt key. Here's what I've
currently got, and it works, but obviously isn't the 'correct' way to
&& out the Alt key from the evt.state:
if (evt.state == 24) && (evt.code == KEY_F4)
exit
else
...
end