Garry's Mod Wiki

Revision Difference

PANEL:OnKeyCodeReleased#517754

<function name="OnKeyCodeReleased" parent="PANEL" type="hook"> <ishook>yes</ishook> <description> Called whenever a keyboard key was released while the panel is focused. <bug issue="2886">This is not run for TILDE/"toggleconsole" binding.</bug> </description> <realm>Client</realm> <predicted>No</predicted> <args> <arg name="keyCode" type="number">The key code of the released key, see &lt;page&gt;KEY&lt;/page&gt;.</arg> <arg name="keyCode" type="number">The key code of the released key, see <page>KEY</page>.</arg> </args> <rets> <ret name="" type="boolean">Return true to suppress default action.</ret> </rets> </function>