[PR #2958] [MERGED] Allow F13-F24 and other extended keys in key bindings #4711

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2958
Author: @kacpherek
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/extended-keybinds


📝 Commits (1)

  • 2aea613 Allow extended keyboard keys in bindings

📊 Changes

1 file changed (+58 additions, -0 deletions)

View changed files

📝 crates/horizon-client-input/src/keybinds.rs (+58 -0)

📄 Description

What and why

Pressing F13 to F24, the international keys, the editing keys (Help, Undo, Cut, Copy, Paste, Find and similar) or the extra keypad keys in the key bindings screen saved the binding as unassigned, although vanilla names these keys. The key table now has them.

  • F13 to F24.
  • International keys (world.1, international1, international3) and Lang1 to Lang5.
  • Help, Select, Again, Undo, Cut, Copy, Paste, Find.
  • Keypad comma, backspace, parentheses, hash, the memory keys, clear and clear entry.

Whether a physical key reaches the game depends on the system and keyboard.

Vanilla reference

  • InputConstants.java:452-492: the key name table, including the keypad entries.
  • KeyBindsScreen.java:87: a pressed key becomes the binding.

Self-check

clippy and fmt pass for horizon-client. Not run in game.


🔄 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/2958 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/extended-keybinds` --- ### 📝 Commits (1) - [`2aea613`](https://github.com/horizon-rust/horizon/commit/2aea6138b7d2b1a0b0237499eb9db67637820f49) Allow extended keyboard keys in bindings ### 📊 Changes **1 file changed** (+58 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-input/src/keybinds.rs` (+58 -0) </details> ### 📄 Description ## What and why Pressing F13 to F24, the international keys, the editing keys (Help, Undo, Cut, Copy, Paste, Find and similar) or the extra keypad keys in the key bindings screen saved the binding as unassigned, although vanilla names these keys. The key table now has them. - F13 to F24. - International keys (`world.1`, `international1`, `international3`) and Lang1 to Lang5. - Help, Select, Again, Undo, Cut, Copy, Paste, Find. - Keypad comma, backspace, parentheses, hash, the memory keys, clear and clear entry. Whether a physical key reaches the game depends on the system and keyboard. ## Vanilla reference - `InputConstants.java:452-492`: the key name table, including the keypad entries. - `KeyBindsScreen.java:87`: a pressed key becomes the binding. ## Self-check clippy and fmt pass for horizon-client. Not run in game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:07:23 +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#4711
No description provided.