Key Listener

How would i go about making a listener that captured all of the player’s key presses, and made it so that like if the player pressed W nothing would happen. Like the wire keyboard…

**[Gamemode.PlayerBindPress

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.PlayerBindPress)**