preamble
I have been reading the code trying to understand how the keyboard input works for stuff like crouching, c.
I think Cmd_AddCommand is involved in buttons, and maybe more.
Key_SetBinding gets called when I use bind from the console.
here's the dumb question.
I cant see where the c key is bound to the standcrouch command.
I would be grateful if someone could outline the steps involved in wiring up a keystroke to a function. (maybe you could point me to some general tutorial on the web which describes how this sort of thing is done in c).