Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Detecting key input (C#)

Author
Message
PtrN
16
Years of Service
User Offline
Joined: 23rd Sep 2007
Location:
Posted: 14th Jul 2011 04:27
I'm trying to check for keyboard input. I thought I had everything right, but it's not working. It does compile but pressing the keys does nothing. If I replace the if statement in question with
"if(true)" then it works properly.

This is the code in question:


What am I missing? Do I need to initiate anything first?

Login to post a reply

Server time is: 2024-04-19 07:42:49
Your offset time is: 2024-04-19 07:42:49