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#)

Years of Service
User Offline
Joined: 23rd Sep 2007
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: 2023-12-08 10:26:51
Your offset time is: 2023-12-08 10:26:51