Revision Difference
input.GetKeyCode#517873
<function name="GetKeyCode" parent="input" type="libraryfunc">
<description>Gets the button code from a button name. This is opposite of <page>input.GetKeyName</page>.</description>
<realm>Client and Menu</realm>
<args>
<arg name="button" type="string">The internal button name, such as "e" or "shift".</arg>
<arg name="button" type="string">The internal button name, such as "e" or "shift".</arg>
</args>
<rets>
<ret name="" type="number">The button code, see <page>BUTTON_CODE</page>.</ret>
</rets>
</function>