Skip to main content

Module input

Module input 

Source
Expand description

Abstract input event types used by the engine core.

These types are backend-agnostic. Concrete windowing backends (winit, SDL, etc.) translate their native events into these abstract events via adapter functions in khora-infra.

Enums§

InputEvent
An engine-internal representation of a user input event.
KeyCode
Type-safe physical key codes — a 1-to-1 mirror of winit::keyboard::KeyCode but living in khora-core so app code never has to depend on winit.
MouseButton
An engine-internal representation of a mouse button.