[PR #4532] [CLOSED] Feat/switch port #5679

Closed
opened 2026-11-03 05:14:16 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4532
Author: @Louchatfroff
Created: 10/30/2026
Status: ❌ Closed

Base: main ← Head: feat/switch-port


📝 Commits (10+)

  • beef564 Switch: patch wgpu 30's Vulkan backend for Horizon
  • ae0c747 Switch: add a Horizon backend to winit 0.30.13
  • ad9dbfe Switch: audio and entropy backends for Horizon
  • c55f24b Switch: add horizon-switch (controllers, touch, swkbd, runtime)
  • f46b7c0 Make core, world and friends build for the Switch
  • 1927400 Switch: wire the client to the Switch's input, budget and keyboard
  • 3c83fc7 Switch: container build, SD export and docs
  • e8b1b61 Switch: fix the errors the first real build found
  • 8e71958 Switch: build without a container (Linux, WSL2)
  • b772e23 docs: record the first successful Switch build

📊 Changes

647 files changed (+186978 additions, -49 deletions)

View changed files

📝 .gitattributes (+4 -0)
📝 Cargo.lock (+5 -0)
📝 Cargo.toml (+1 -1)
📝 crates/horizon-client/Cargo.toml (+9 -2)
📝 crates/horizon-client/build.rs (+5 -0)
📝 crates/horizon-client/src/clipboard.rs (+17 -0)
📝 crates/horizon-client/src/control.rs (+14 -14)
📝 crates/horizon-client/src/discord_presence.rs (+8 -2)
📝 crates/horizon-client/src/game.rs (+14 -1)
📝 crates/horizon-client/src/game/pad.rs (+83 -1)
📝 crates/horizon-client/src/game/pad_menu.rs (+36 -0)
📝 crates/horizon-client/src/lib.rs (+1 -0)
📝 crates/horizon-client/src/main.rs (+3 -0)
📝 crates/horizon-client/src/mod_content.rs (+1 -1)
📝 crates/horizon-client/src/osk.rs (+33 -0)
📝 crates/horizon-client/src/settings.rs (+17 -7)
📝 crates/horizon-client/src/spans.rs (+2 -2)
➕ crates/horizon-client/src/switch_profile.rs (+97 -0)
➕ crates/horizon-core/src/exe.rs (+13 -0)
📝 crates/horizon-core/src/lib.rs (+1 -0)

...and 80 more files

📄 Description

What and why

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

Self-check

Screenshots


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4532 **Author:** [@Louchatfroff](https://github.com/Louchatfroff) **Created:** 10/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/switch-port` --- ### 📝 Commits (10+) - [`beef564`](https://github.com/horizon-rust/horizon/commit/beef5643b4d51b3a120014957ee3cd19fb3680e2) Switch: patch wgpu 30's Vulkan backend for Horizon - [`ae0c747`](https://github.com/horizon-rust/horizon/commit/ae0c74754b955704b86ef2a503fde494750fad1d) Switch: add a Horizon backend to winit 0.30.13 - [`ad9dbfe`](https://github.com/horizon-rust/horizon/commit/ad9dbfe86be049fddeccee3f47838bbb9f2bbe84) Switch: audio and entropy backends for Horizon - [`c55f24b`](https://github.com/horizon-rust/horizon/commit/c55f24bac0c78686c7ad761c99439b3d23c1db1f) Switch: add horizon-switch (controllers, touch, swkbd, runtime) - [`f46b7c0`](https://github.com/horizon-rust/horizon/commit/f46b7c0121bd6721292672d63ac8954ba3393608) Make core, world and friends build for the Switch - [`1927400`](https://github.com/horizon-rust/horizon/commit/1927400f610580386dc96b9dff8ae1f130ec48d3) Switch: wire the client to the Switch's input, budget and keyboard - [`3c83fc7`](https://github.com/horizon-rust/horizon/commit/3c83fc78fe1d09e0df7fa47928e84cd4de65da64) Switch: container build, SD export and docs - [`e8b1b61`](https://github.com/horizon-rust/horizon/commit/e8b1b61bce684ac2fcbe1ebe42a57a4441e595a1) Switch: fix the errors the first real build found - [`8e71958`](https://github.com/horizon-rust/horizon/commit/8e7195818a7c07471804b2450d47b289a1a9d9b7) Switch: build without a container (Linux, WSL2) - [`b772e23`](https://github.com/horizon-rust/horizon/commit/b772e238838d746202e0e44ed3ef11c75b50cd22) docs: record the first successful Switch build ### 📊 Changes **647 files changed** (+186978 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `.gitattributes` (+4 -0) 📝 `Cargo.lock` (+5 -0) 📝 `Cargo.toml` (+1 -1) 📝 `crates/horizon-client/Cargo.toml` (+9 -2) 📝 `crates/horizon-client/build.rs` (+5 -0) 📝 `crates/horizon-client/src/clipboard.rs` (+17 -0) 📝 `crates/horizon-client/src/control.rs` (+14 -14) 📝 `crates/horizon-client/src/discord_presence.rs` (+8 -2) 📝 `crates/horizon-client/src/game.rs` (+14 -1) 📝 `crates/horizon-client/src/game/pad.rs` (+83 -1) 📝 `crates/horizon-client/src/game/pad_menu.rs` (+36 -0) 📝 `crates/horizon-client/src/lib.rs` (+1 -0) 📝 `crates/horizon-client/src/main.rs` (+3 -0) 📝 `crates/horizon-client/src/mod_content.rs` (+1 -1) 📝 `crates/horizon-client/src/osk.rs` (+33 -0) 📝 `crates/horizon-client/src/settings.rs` (+17 -7) 📝 `crates/horizon-client/src/spans.rs` (+2 -2) ➕ `crates/horizon-client/src/switch_profile.rs` (+97 -0) ➕ `crates/horizon-core/src/exe.rs` (+13 -0) 📝 `crates/horizon-core/src/lib.rs` (+1 -0) _...and 80 more files_ </details> ### 📄 Description <!-- Opened by an AI agent? First line: "> 🤖 Opened by <your GitHub login>'s AI agent (<tool, model>), not by <your GitHub login> personally." Use your own login, not someone else's. --> ## What and why <!-- What this changes, and why. Link the issue it fixes ("Fixes #123"). --> ## Kind <!-- Tick one: it sets the pull request's label (CONTRIBUTING.md "Pull requests"). --> - [ ] parity: Horizon now does what vanilla 26.3 does - [ ] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [ ] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference <!-- The vanilla classes and methods this follows (tools/rea_vanilla.py), and the harness that checks it. "Horizon-only" for a feature vanilla doesn't have; "none" for tooling or docs. --> ## Self-check <!-- Paste the block `python3 tools/pr_ready.py` prints (`--base upstream/main` from a fork). --> ## Screenshots <!-- For anything players see: before and after. Delete this section otherwise. --> <!-- Please tick "Allow edits by maintainers": we push small fixups ourselves instead of a round trip. See CONTRIBUTING.md. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:16 +07:00
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#5679
No description provided.