Bind: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 10: Line 10:
[[Category:Console Commands]]
[[Category:Console Commands]]
==Special Keys==
==Special Keys==
{|
* tab
! Key !! Name
* enter
|-
* escape
| mwheelup || Mouse wheel up
* space
|-
* backspace
| mwheeldown || Mouse wheel down
* uparrow
|-
* downarrow
| mouse1 || Left click
* leftarrow
|-
* rightarrow
| mouse2 || Right click
* alt
|-
* ctrl
| mouse3 || Middle click
* shift
|-
* ins
| mouse4 || 4th click
* del
|-
* pgdn
| mouse5 || 5th click
* pgup
|}
* home
* end
* kp_home
* kp_uparrow
* kp_pgup
* kp_leftarrow
* kp_5
* kp_rightarrow
* kp_end
* kp_downarrow
* kp_pgdn
* kp_enter
* kp_ins
* kp_del
* kp_slash
* kp_minus
* kp_plus
* capslock
* joy'''''1-4'''''
* aux'''''1-31'''''
* mwheeldown
* mwheelup
* mouse'''''1-5'''''
* pause


==See Also==
==See Also==
[[Console Command List]]
[[Console Command List]]

Revision as of 21:48, 19 May 2007

This is a console command that lets you bind other console commands to a key.


Syntax: bind key "c1;c2;..."

Template:Ccexample

Template:Ccexample

Quotation marks around strings are not always required, but should be used to ensure that special characters, such as spaces and semicolons, are not misinterpreted. For number-only strings, quotation marks should not be used.

Special Keys

  • tab
  • enter
  • escape
  • space
  • backspace
  • uparrow
  • downarrow
  • leftarrow
  • rightarrow
  • alt
  • ctrl
  • shift
  • ins
  • del
  • pgdn
  • pgup
  • home
  • end
  • kp_home
  • kp_uparrow
  • kp_pgup
  • kp_leftarrow
  • kp_5
  • kp_rightarrow
  • kp_end
  • kp_downarrow
  • kp_pgdn
  • kp_enter
  • kp_ins
  • kp_del
  • kp_slash
  • kp_minus
  • kp_plus
  • capslock
  • joy1-4
  • aux1-31
  • mwheeldown
  • mwheelup
  • mouse1-5
  • pause

See Also

Console Command List