You cannot detect if a player has pressed a particular keyboard key. You can detect if they use a command that is sent to the server. So, to detect if they send the backwards command, you will use IN_DUCK constant. Look for threads that use other IN_* constants to see who they are used with pev buttons. See hlsdk_const.inc for all the IN_* constants.