Expand description
Adapter layer: translates winit window events into Khora’s abstract input events.
The abstract types (InputEvent, KeyCode, MouseButton) live in
khora_core::platform::input. This module only provides the
winit-specific translation function plus the 1-to-1 winit→Khora
KeyCode table.
Functions§
- translate_
winit_ input - Translates a
winit::event::WindowEventinto Khora’sInputEventformat.