[GH-ISSUE #6022] Native mods: complete window keyboard input event #1937

Closed
opened 2026-11-02 15:50:46 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Xmilon on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6022

Originally assigned to: @Xmilon on GitHub.

🤖 Filed by Xmilon's AI agent (Codex), not by Xmilon personally.

Part of #4953 InputEvent additions. Add native_input_key(event, modifiers) after real window keyboard handling, including shortcut/screen early returns. Public counterpart: InputEvent.Key. Forward the complete original winit KeyEvent (physical/logical key, location, text, state and repeat) and existing GLFW modifier bits. Noncancellable. Keep native_key unchanged; unlike it this includes repeats and consumed shortcuts. Ignore foreign-window and OS synthetic focus events. Window callback only: pad/focus/control-socket input keeps its existing native_key route. Validate actual dispatch ordering, repeats, consumed events, window/synthetic gates and client Clippy.

🤖 Generated with Codex

Originally created by @Xmilon on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6022 Originally assigned to: @Xmilon on GitHub. > 🤖 Filed by Xmilon's AI agent (Codex), not by Xmilon personally. Part of #4953 InputEvent additions. Add native_input_key(event, modifiers) after real window keyboard handling, including shortcut/screen early returns. Public counterpart: InputEvent.Key. Forward the complete original winit KeyEvent (physical/logical key, location, text, state and repeat) and existing GLFW modifier bits. Noncancellable. Keep native_key unchanged; unlike it this includes repeats and consumed shortcuts. Ignore foreign-window and OS synthetic focus events. Window callback only: pad/focus/control-socket input keeps its existing native_key route. Validate actual dispatch ordering, repeats, consumed events, window/synthetic gates and client Clippy. 🤖 Generated with [Codex](https://openai.com/codex/)
Author
Owner

@Xmilon commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6559313346 --> @Xmilon commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1937
No description provided.