Class TLCLKeyPressHandler

Unit

Declaration

type TLCLKeyPressHandler = class(TObject)

Description

Convert LCL OnKeyDown and OnUTF8KeyPress into a single CGE event OnPress.

In VCL and LCL KeyPress (or UTF8KeyPress in LCL) and KeyDown are separate events. While in CGE they are one event, and passed as one event to TCastleUserInterface.KeyDown, because this is more comfortable to process (as it corresponds to one user action, and allows configurable TInputShortcut to work).

Source: lcl/castlelclutils.pas (line 121).

Hierarchy

  • TObject
  • TLCLKeyPressHandler

Generated by PasDoc 0.17.0.snapshot.