7 bind LEFTARROW +moveleft
9 bind RIGHTARROW +moveright
27 bind MOUSE3 togglezoom
30 bind MWHEELUP weapnext
31 bind MWHEELDOWN weapprev
33 bind BACKSPACE dropweapon
41 bind ESCAPE togglemenu
42 bind ENTER messagemode
45 bind v +button8 // drag object
49 bind u "+con_chat_maximize"
50 bind m +hud_panel_radar_maximized
60 bind F5 team_selection_show
62 bind F7 menu_showsandboxtools
64 bind F9 "cl_cmd hud minigame"
65 bind F10 menu_showquitdialog
69 // Gamepad defaults. Tested with Logitech Rumblepad 2, I hope similar ones works as well.
77 bind JOY8 "dropweapon"
78 bind JOY9 team_selection_show
79 bind JOY10 "+show_info"
80 bind JOY11 "+showscores"
81 bind JOY12 "+con_chat_maximize"
87 seta joysidesensitivity "1.0"
88 seta joypitchsensitivity "0.9"
89 seta joyyawsensitivity "-1.8"
91 seta joy_deadzoneforward "0.05"
92 seta joy_deadzonepitch "0.05"
93 seta joy_deadzoneside "0.05"
94 seta joy_deadzoneup "0.05"
95 seta joy_deadzoneyaw "0.05"
96 seta joy_sensitivitypitch "0.9"
97 seta joy_sensitivityyaw "-1.8"
100 bind kp_ins messagemode
101 bind kp_del messagemode2
102 bind kp_end "+userbind 1"
103 bind kp_downarrow "+userbind 2"
104 bind kp_pgdn "+userbind 3"
105 bind kp_leftarrow "+userbind 4"
106 bind kp_5 "+userbind 6"
107 bind kp_rightarrow "+userbind 7"
108 bind kp_home "+userbind 9"
109 bind kp_uparrow "+userbind 10"
110 bind kp_pgup "+userbind 11"
111 bind kp_multiply "+userbind 12"
112 bind kp_slash "+userbind 13"
113 bind kp_enter "+userbind 16"
114 bind kp_plus "+userbind 17"
115 bind kp_minus "+userbind 18"
117 // usercommands. These can be edited and bound by the menu.
118 seta "userbind1_press" "say_team strength soon"; seta "userbind1_release" ""; seta "userbind1_description" "team: strength soon"
119 seta "userbind2_press" "say_team free item %x^7 (l:%y^7); g_waypointsprite_team_here_p"; seta "userbind2_release" ""; seta "userbind2_description" "team: free item, icon"
120 seta "userbind3_press" "say_team took item (l:%l^7); g_waypointsprite_team_here"; seta "userbind3_release" ""; seta "userbind3_description" "team: took item, icon"
121 seta "userbind4_press" "say_team negative"; seta "userbind4_release" ""; seta "userbind4_description" "team: negative"
122 seta "userbind5_press" "say_team positive"; seta "userbind5_release" ""; seta "userbind5_description" "team: positive"
123 seta "userbind6_press" "say_team need help (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_helpme; cmd voice needhelp"; seta "userbind6_release" ""; seta "userbind6_description" "team: need help, icon"
124 seta "userbind7_press" "say_team enemy seen (l:%y^7); g_waypointsprite_team_danger_p; cmd voice incoming"; seta "userbind7_release" ""; seta "userbind7_description" "team: enemy seen, icon"
125 seta "userbind8_press" "say_team flag seen (l:%y^7); g_waypointsprite_team_here_p; cmd voice seenflag"; seta "userbind8_release" ""; seta "userbind8_description" "team: flag seen, icon"
126 seta "userbind9_press" "say_team defending (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_here"; seta "userbind9_release" ""; seta "userbind9_description" "team: defending, icon"
127 seta "userbind10_press" "say_team roaming (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_here"; seta "userbind10_release" ""; seta "userbind10_description" "team: roaming, icon"
128 seta "userbind11_press" "say_team attacking (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_here"; seta "userbind11_release" ""; seta "userbind11_description" "team: attacking, icon"
129 seta "userbind12_press" "say_team killed flagcarrier (l:%y^7); g_waypointsprite_team_here_p"; seta "userbind12_release" ""; seta "userbind12_description" "team: killed flagcarrier, icon"
130 seta "userbind13_press" "say_team dropped flag (l:%d^7); g_waypointsprite_team_here_d"; seta "userbind13_release" ""; seta "userbind13_description" "team: dropped flag, icon"
131 seta "userbind14_press" "say_team dropped weapon %w^7 (l:%l^7); g_waypointsprite_team_here; wait; dropweapon"; seta "userbind14_release" ""; seta "userbind14_description" "team: drop weapon, icon"
132 // TODO change this to "use" once we can
133 seta "userbind15_press" "say_team dropped flag/key %w^7 (l:%l^7); g_waypointsprite_team_here; wait; +use"; seta "userbind15_release" "-use"; seta "userbind15_description" "team: drop flag/key, icon"
134 seta "userbind16_press" "say :-) / nice one"; seta "userbind16_release" ""; seta "userbind16_description" "chat: nice one"
135 seta "userbind17_press" "say good game"; seta "userbind17_release" ""; seta "userbind17_description" "chat: good game"
136 seta "userbind18_press" "say hi / good luck and have fun"; seta "userbind18_release" ""; seta "userbind18_description" "chat: hi / good luck"
137 seta "userbind19_press" "+showscores; +con_chat_maximize"; seta "userbind19_release" "-showscores; -con_chat_maximize"; seta "userbind19_description" "scoreboard / chat history"
138 seta "userbind20_press" "toggle cl_capturevideo"; seta "userbind20_release" ""; seta "userbind20_description" "toggle recording .avi"
139 seta "userbind21_press" "toggle vid_fullscreen; vid_restart"; seta "userbind21_release" ""; seta "userbind21_description" "toggle fullscreen"
140 seta "userbind22_press" ""; seta "userbind22_release" ""; seta "userbind22_description" ""
141 seta "userbind23_press" ""; seta "userbind23_release" ""; seta "userbind23_description" ""
142 seta "userbind24_press" ""; seta "userbind24_release" ""; seta "userbind24_description" ""
143 seta "userbind25_press" ""; seta "userbind25_release" ""; seta "userbind25_description" ""
144 seta "userbind26_press" ""; seta "userbind26_release" ""; seta "userbind26_description" ""
145 seta "userbind27_press" ""; seta "userbind27_release" ""; seta "userbind27_description" ""
146 seta "userbind28_press" ""; seta "userbind28_release" ""; seta "userbind28_description" ""
147 seta "userbind29_press" ""; seta "userbind29_release" ""; seta "userbind29_description" ""
148 seta "userbind30_press" ""; seta "userbind30_release" ""; seta "userbind30_description" ""
149 seta "userbind31_press" ""; seta "userbind31_release" ""; seta "userbind31_description" ""
150 seta "userbind32_press" ""; seta "userbind32_release" ""; seta "userbind32_description" ""
151 alias _userbind_call "${$1}"
152 alias +userbind "_userbind_call userbind${1}_press"
153 alias -userbind "_userbind_call userbind${1}_release"