optic-window
Windowing and input for the Optic engine — winit wrapper with per-frame key, mouse, and gamepad state.
Provides a Window handle with cursor tracking (grab, confine, loopback),
and an Events accumulator that collects winit + gilrs events each frame
for polling-style input queries.
use ;
use Size2D;
let el = new.unwrap;
let mut window = new;
let mut events = new;