Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Help

Name: OP 2013-05-24 4:31

Ok so I'm trying to determine very simply if someone has clicked on the console or not, now can someone tell me why this code does not work?

http://pastebin.com/LhHy1bve

Whether I click or press a key neither of the cases fire, and if it's any help, InRec.EventType outputs as 16

Name: Anonymous 2013-05-24 4:43

You need put a space between cout and the left shift (so that cout<< "Keypress" <<endl; becomes cout << "Keypress" <<endl;).

Name: Anonymous 2013-05-24 5:06

This is not valid sepples - not even close! You forgot to include stdlib, you forgot to put your code in a function, and you didn't initialize your variables (in fact, you didn't even declare them). Behavior so undefined that this has got to be a troll.

Name: Anonymous 2013-05-24 5:06

>>2
What? That doesn't affect anything.

Name: Anonymous 2013-05-24 7:39

GetAsyncKeyState
IHNBT

Name: Anonymous 2013-05-24 8:54

VK_LBUTTON
I'm left-handed you insensitive clod!

Name: Anonymous 2013-05-24 9:30

>>6
Do you also drive on the left?

Name: Anonymous 2013-05-24 14:46

>>4
Yeah, but it looks better.

Don't change these.
Name: Email:
Entire Thread Thread List