Skip to content

IInputLayer.ProcessKeyboardInput(IInputContext, bool) Method

Definition

Namespace: Brine2D.Input

Process keyboard input. Return true to consume and prevent lower layers from acting on it.

bool ProcessKeyboardInput(Brine2D.Input.IInputContext input, bool consumed);

Parameters

input IInputContext

The input context for the current frame.

consumed System.Boolean

True if a higher-priority layer already consumed keyboard input.

Returns

System.Boolean