Live keyboard and gamepad input on macOS #1

Closed
opened 2026-11-26 14:42:18 +00:00 by github-bot · 2 comments
Owner

@⁠LakshanSivakumar on GitHub · 2026-11-26 06:57 UTC · original

There is no live input yet: run-native.sh presses Enter on a timer (VICTORY_KEYS) to get past the start screen.

Wire the window's key events (apps/victory/src/window.rs) and Game Controller framework pads into GameInput (crates/victory-hle/src/modules/gameinput.rs), which already has a stand-in pad. See docs/ROADMAP.md section 2.

**@⁠LakshanSivakumar** on GitHub · 2026-11-26 06:57 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/1) There is no live input yet: run-native.sh presses Enter on a timer (VICTORY_KEYS) to get past the start screen. Wire the window's key events (apps/victory/src/window.rs) and Game Controller framework pads into GameInput (crates/victory-hle/src/modules/gameinput.rs), which already has a stand-in pad. See docs/ROADMAP.md section 2.
github-bot 2026-11-26 14:42:18 +00:00
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 14:42:18 +00:00
Author
Owner

@⁠claytonblythe on GitHub · 2026-11-26 08:44 UTC · original

Opened #9 for the live macOS keyboard half of this issue (AppKit NSEvent -> GameInput keyboard + stand-in gamepad, with unit tests and a real NSEvent integration test). Happy to follow up with GameController.framework (GCController) support for physical DualSense/Xbox pads in a separate PR if this looks good.

**@⁠claytonblythe** on GitHub · 2026-11-26 08:44 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/1#issuecomment-7186961177) Opened https://git.gtahub.st/github/LakshanSivakumar--Native-Victory-macOS/pulls/9 for the live macOS keyboard half of this issue (AppKit `NSEvent` -> `GameInput` keyboard + stand-in gamepad, with unit tests and a real `NSEvent` integration test). Happy to follow up with `GameController.framework` (`GCController`) support for physical DualSense/Xbox pads in a separate PR if this looks good.
Author
Owner

@⁠LakshanSivakumar on GitHub · 2026-11-26 09:22 UTC · original

Fixed: keyboard input works in the window (README key table). Controllers landed in #11.

**@⁠LakshanSivakumar** on GitHub · 2026-11-26 09:22 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/1#issuecomment-7187865463) Fixed: keyboard input works in the window (README key table). Controllers landed in #11.
This discussion has been locked. Commenting is limited to contributors.
No description provided.