PANEL/OnKeyCodePressed

From Garry's Mod
Jump to: navigation, search
 PANEL:OnKeyCodePressed( )

Description

Called whenever a keyboard key was pressed while the panel is focused.

BUG

This is not run for ESC/"cancelselect" binding.

Issue Tracker: #2886

Arguments

number keyCode

They key code of the pressed key, see KEY_ Enums.
Personal tools
Navigation