The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Magnum on March 27, 2010, 04:24:06 PM

Title: Disable the "Windows" key
Post by: Magnum on March 27, 2010, 04:24:06 PM
My grandson likes playing Wolfenstein, but he often hits the "Windows" key instead of the Ctrl key.

Is there a way I can disable that key?

Thanks.
Title: Re: Disable the "Windows" key
Post by: donkey on March 27, 2010, 04:28:30 PM
You should be able to do it with a WH_KEYBOARD hook I'd think.
Title: Re: Disable the "Windows" key
Post by: Magnum on March 28, 2010, 12:40:25 AM
Quote from: donkey on March 27, 2010, 04:28:30 PM
You should be able to do it with a WH_KEYBOARD hook I'd think.

I found an easier way.
The attachment has some .reg files.