Garry's Mod Wiki

Revision Difference

Enums/KEY#514989

<cat>enum</cat>⤶ <enumeration>⤶ <description>⤶ Enumerations used by:⤶ * <page>input.IsKeyDown</page>⤶ * <page>input.WasKeyPressed</page>⤶ * <page>input.WasKeyReleased</page>⤶ * <page>input.WasKeyTyped</page>⤶ * <page>input.IsKeyTrapping</page>⤶ * <page>input.GetKeyName</page>⤶ * <page>input.LookupBinding</page>⤶ * <page>PANEL:OnKeyCodePressed</page>⤶ * <page>PANEL:OnKeyCodeReleased</page>⤶ ⤶ It's also part of the <page>BUTTON_CODE</page>.⤶ </description>⤶ <fields>{{EnumField|KEY_FIRST|0</fields>⤶ ⤶ </enumeration>⤶ ⤶ <enumfield|key_none|0}}{{enumfield|key_0|1|normal number 0 key}}{{enumfield|key_1|2|normal number 1 key}}{{enumfield|key_2|3|normal number 2 key}}{{enumfield|key_3|4|normal number 3 key}}{{enumfield|key_4|5|normal number 4 key}}{{enumfield|key_5|6|normal number 5 key}}{{enumfield|key_6|7|normal number 6 key}}{{enumfield|key_7|8|normal number 7 key}}{{enumfield|key_8|9|normal number 8 key}}{{enumfield|key_9|10|normal number 9 key}}{{enumfield|key_a|11}}{{enumfield|key_b|12}}{{enumfield|key_c|13}}{{enumfield|key_d|14}}{{enumfield|key_e|15}}{{enumfield|key_f|16}}{{enumfield|key_g|17}}{{enumfield|key_h|18}}{{enumfield|key_i|19}}{{enumfield|key_j|20}}{{enumfield|key_k|21}}{{enumfield|key_l|22}}{{enumfield|key_m|23}}{{enumfield|key_n|24}}{{enumfield|key_o|25}}{{enumfield|key_p|26}}{{enumfield|key_q|27}}{{enumfield|key_r|28}}{{enumfield|key_s|29}}{{enumfield|key_t|30}}{{enumfield|key_u|31}}{{enumfield|key_v|32}}{{enumfield|key_w|33}}{{enumfield|key_x|34}}{{enumfield|key_y|35}}{{enumfield|key_z|36}}{{enumfield|key_pad_0|37|keypad number 0 key}}{{enumfield|key_pad_1|38|keypad number 1 key}}{{enumfield|key_pad_2|39|keypad number 2 key}}{{enumfield|key_pad_3|40|keypad number 3 key}}{{enumfield|key_pad_4|41|keypad number 4 key}}{{enumfield|key_pad_5|42|keypad number 5 key}}{{enumfield|key_pad_6|43|keypad number 6 key}}{{enumfield|key_pad_7|44|keypad number 7 key}}{{enumfield|key_pad_8|45|keypad number 8 key}}{{enumfield|key_pad_9|46|keypad number 9 key}}{{enumfield|key_pad_divide|47|keypad division/slash key (/)}}{{enumfield|key_pad_multiply|48|keypad asterisk key (*)}}{{enumfield|key_pad_minus|49|keypad minus key}}{{enumfield|key_pad_plus|50|keypad plus key}}{{enumfield|key_pad_enter|51|keypad enter key}}{{enumfield|key_pad_decimal|52|keypad dot key (.)}}{{enumfield|key_lbracket|53}}{{enumfield|key_rbracket|54}}{{enumfield|key_semicolon|55}}{{enumfield|key_apostrophe|56}}{{enumfield|key_backquote|57}}{{enumfield|key_comma|58}}{{enumfield|key_period|59}}{{enumfield|key_slash|60}}{{enumfield|key_backslash|61}}{{enumfield|key_minus|62}}{{enumfield|key_equal|63}}{{enumfield|key_enter|64}}{{enumfield|key_space|65}}{{enumfield|key_backspace|66}}{{enumfield|key_tab|67}}{{enumfield|key_capslock|68}}{{enumfield|key_numlock|69}}{{enumfield|key_escape|70}}{{enumfield|key_scrolllock|71}}{{enumfield|key_insert|72}}{{enumfield|key_delete|73}}{{enumfield|key_home|74}}{{enumfield|key_end|75}}{{enumfield|key_pageup|76}}{{enumfield|key_pagedown|77}}{{enumfield|key_break|78}}{{enumfield|key_lshift|79|the left shift key, has been seen to be triggered by right shift in <page>panel:onkeycodepressed</page>}}{{enumfield|key_rshift|80}}{{enumfield|key_lalt|81}}{{enumfield|key_ralt|82}}{{enumfield|key_lcontrol|83}}{{enumfield|key_rcontrol|84}}{{enumfield|key_lwin|85|the left windows key or the command key on mac osx}}{{enumfield|key_rwin|86|the right windows key or the command key on mac osx}}{{enumfield|key_app|87}}{{enumfield|key_up|88}}{{enumfield|key_left|89}}{{enumfield|key_down|90}}{{enumfield|key_right|91}}{{enumfield|key_f1|92}}{{enumfield|key_f2|93}}{{enumfield|key_f3|94}}{{enumfield|key_f4|95}}{{enumfield|key_f5|96}}{{enumfield|key_f6|97}}{{enumfield|key_f7|98}}{{enumfield|key_f8|99}}{{enumfield|key_f9|100}}{{enumfield|key_f10|101}}{{enumfield|key_f11|102}}{{enumfield|key_f12|103}}{{enumfield|key_capslocktoggle|104}}{{enumfield|key_numlocktoggle|105}}{{enumfield|key_last|106}}{{enumfield|key_scrolllocktoggle|106}}{{enumfield|key_count|107}}{{enumfield|key_xbutton_a|114}}{{enumfield|key_xbutton_b|115}}{{enumfield|key_xbutton_x|116}}{{enumfield|key_xbutton_y|117}}{{enumfield|key_xbutton_left_shoulder|118}}{{enumfield|key_xbutton_right_shoulder|119}}{{enumfield|key_xbutton_back|120}}{{enumfield|key_xbutton_start|121}}{{enumfield|key_xbutton_stick1|122}}{{enumfield|key_xbutton_stick2|123}}{{enumfield|key_xbutton_up|146}}{{enumfield|key_xbutton_right|147}}{{enumfield|key_xbutton_down|148}}{{enumfield|key_xbutton_left|149}}{{enumfield|key_xstick1_right|150}}{{enumfield|key_xstick1_left|151}}{{enumfield|key_xstick1_down|152}}{{enumfield|key_xstick1_up|153}}{{enumfield|key_xbutton_ltrigger|154}}{{enumfield|key_xbutton_rtrigger|155}}{{enumfield|key_xstick2_right|156}}{{enumfield|key_xstick2_left|157}}{{enumfield|key_xstick2_down|158}}{{enumfield|key_xstick2_up|159}}>⤶ <fieldsonly>{{{FieldsOnly|</fieldsonly>⤶ ⤶ </enumfield|key_none|0}}{{enumfield|key_0|1|normal number 0 key}}{{enumfield|key_1|2|normal number 1 key}}{{enumfield|key_2|3|normal number 2 key}}{{enumfield|key_3|4|normal number 3 key}}{{enumfield|key_4|5|normal number 4 key}}{{enumfield|key_5|6|normal number 5 key}}{{enumfield|key_6|7|normal number 6 key}}{{enumfield|key_7|8|normal number 7 key}}{{enumfield|key_8|9|normal number 8 key}}{{enumfield|key_9|10|normal number 9 key}}{{enumfield|key_a|11}}{{enumfield|key_b|12}}{{enumfield|key_c|13}}{{enumfield|key_d|14}}{{enumfield|key_e|15}}{{enumfield|key_f|16}}{{enumfield|key_g|17}}{{enumfield|key_h|18}}{{enumfield|key_i|19}}{{enumfield|key_j|20}}{{enumfield|key_k|21}}{{enumfield|key_l|22}}{{enumfield|key_m|23}}{{enumfield|key_n|24}}{{enumfield|key_o|25}}{{enumfield|key_p|26}}{{enumfield|key_q|27}}{{enumfield|key_r|28}}{{enumfield|key_s|29}}{{enumfield|key_t|30}}{{enumfield|key_u|31}}{{enumfield|key_v|32}}{{enumfield|key_w|33}}{{enumfield|key_x|34}}{{enumfield|key_y|35}}{{enumfield|key_z|36}}{{enumfield|key_pad_0|37|keypad number 0 key}}{{enumfield|key_pad_1|38|keypad number 1 key}}{{enumfield|key_pad_2|39|keypad number 2 key}}{{enumfield|key_pad_3|40|keypad number 3 key}}{{enumfield|key_pad_4|41|keypad number 4 key}}{{enumfield|key_pad_5|42|keypad number 5 key}}{{enumfield|key_pad_6|43|keypad number 6 key}}{{enumfield|key_pad_7|44|keypad number 7 key}}{{enumfield|key_pad_8|45|keypad number 8 key}}{{enumfield|key_pad_9|46|keypad number 9 key}}{{enumfield|key_pad_divide|47|keypad division/slash key (/)}}{{enumfield|key_pad_multiply|48|keypad asterisk key (*)}}{{enumfield|key_pad_minus|49|keypad minus key}}{{enumfield|key_pad_plus|50|keypad plus key}}{{enumfield|key_pad_enter|51|keypad enter key}}{{enumfield|key_pad_decimal|52|keypad dot key (.)}}{{enumfield|key_lbracket|53}}{{enumfield|key_rbracket|54}}{{enumfield|key_semicolon|55}}{{enumfield|key_apostrophe|56}}{{enumfield|key_backquote|57}}{{enumfield|key_comma|58}}{{enumfield|key_period|59}}{{enumfield|key_slash|60}}{{enumfield|key_backslash|61}}{{enumfield|key_minus|62}}{{enumfield|key_equal|63}}{{enumfield|key_enter|64}}{{enumfield|key_space|65}}{{enumfield|key_backspace|66}}{{enumfield|key_tab|67}}{{enumfield|key_capslock|68}}{{enumfield|key_numlock|69}}{{enumfield|key_escape|70}}{{enumfield|key_scrolllock|71}}{{enumfield|key_insert|72}}{{enumfield|key_delete|73}}{{enumfield|key_home|74}}{{enumfield|key_end|75}}{{enumfield|key_pageup|76}}{{enumfield|key_pagedown|77}}{{enumfield|key_break|78}}{{enumfield|key_lshift|79|the left shift key, has been seen to be triggered by right shift in <page>panel:onkeycodepressed</page>}}{{enumfield|key_rshift|80}}{{enumfield|key_lalt|81}}{{enumfield|key_ralt|82}}{{enumfield|key_lcontrol|83}}{{enumfield|key_rcontrol|84}}{{enumfield|key_lwin|85|the left windows key or the command key on mac osx}}{{enumfield|key_rwin|86|the right windows key or the command key on mac osx}}{{enumfield|key_app|87}}{{enumfield|key_up|88}}{{enumfield|key_left|89}}{{enumfield|key_down|90}}{{enumfield|key_right|91}}{{enumfield|key_f1|92}}{{enumfield|key_f2|93}}{{enumfield|key_f3|94}}{{enumfield|key_f4|95}}{{enumfield|key_f5|96}}{{enumfield|key_f6|97}}{{enumfield|key_f7|98}}{{enumfield|key_f8|99}}{{enumfield|key_f9|100}}{{enumfield|key_f10|101}}{{enumfield|key_f11|102}}{{enumfield|key_f12|103}}{{enumfield|key_capslocktoggle|104}}{{enumfield|key_numlocktoggle|105}}{{enumfield|key_last|106}}{{enumfield|key_scrolllocktoggle|106}}{{enumfield|key_count|107}}{{enumfield|key_xbutton_a|114}}{{enumfield|key_xbutton_b|115}}{{enumfield|key_xbutton_x|116}}{{enumfield|key_xbutton_y|117}}{{enumfield|key_xbutton_left_shoulder|118}}{{enumfield|key_xbutton_right_shoulder|119}}{{enumfield|key_xbutton_back|120}}{{enumfield|key_xbutton_start|121}}{{enumfield|key_xbutton_stick1|122}}{{enumfield|key_xbutton_stick2|123}}{{enumfield|key_xbutton_up|146}}{{enumfield|key_xbutton_right|147}}{{enumfield|key_xbutton_down|148}}{{enumfield|key_xbutton_left|149}}{{enumfield|key_xstick1_right|150}}{{enumfield|key_xstick1_left|151}}{{enumfield|key_xstick1_down|152}}{{enumfield|key_xstick1_up|153}}{{enumfield|key_xbutton_ltrigger|154}}{{enumfield|key_xbutton_rtrigger|155}}{{enumfield|key_xstick2_right|156}}{{enumfield|key_xstick2_left|157}}{{enumfield|key_xstick2_down|158}}{{enumfield|key_xstick2_up|159}}>⤶ ⤶ }⤶ }}