Native Hotkey API
🟡 Updated this yearPreview

🔍 Analysis
- ✅ Updated 60 days after the latest game patch — actively maintained
- 🏆 #94 of 114 User Interface mods in this game by downloads
📋 About This Mod
Native Hotkey API
An API mod for X4: Foundations that lets other mods register custom hotkey actions - bindable by the player through the native game keybinding UI, with no external process and no dependency on SirNukes Mod Support APIs' own Hotkey API.
Overview
Specifics of X4's input system: it uses specialized INPUT_ACTION_ enums to assign physical keys to in-game actions. These enums are compiled into the game and cannot be extended by mods.
This mod reclaims 48 otherwise-unused debug-only action slots and exposes them as a registration API: a consumer mod asks for an id, the framework hands it the next free slot from the pool, and the player assigns the actual physical key through the same native remap UI (and conflict-detection) every other control uses.
So, this mod will work till the Egosoft wil not remove the debug action slots from the game or will do anything else to break this functionality.
Two integration paths exist, both calling into the same registration/dispatch core:
-
[] MD API - for Mission Director scripts. Uses Register_Action / Reloaded cue signals; the registered callback is an MD cue.
[] Lua API - for Lua UI scripts. Call HotkeyApi. RegisterAction(...) directly; the registered callback is a Lua function, invoked with no MD/blackboard round trip at all.
Requirements
-
[] X4: Foundations: Version 8. 00HF4 or higher and UI Extensions and HUD: Version v8. 0. 4. 10 or higher by kuertee.
[] Available on Nexus Mods: UI Extensions and HUD
- [] Available on Nexus Mods: UI Extensions and HUD
-
[] Steam Workshop: Native Hotkey API
[] Nexus Mods: Native Hotkey API
A Hotkey Management entry is added to the top-level Options menu, right before Settings.
It contains:
[] Hotkey Bindings - the actual
📊 Mod Details
- Game
- X4 Foundations Mods
- Author
- ChemODun
- Version
- 8.00.09
- Downloads
- 346
- Endorsements
- 11
- Category
- User Interface
- Created
- 6/28/2026
- Updated
- 8/9/2026
🔧 How to Install X4foundations Mods
Download from Nexus Mods.
📖 Full step-by-step install guide for X4foundations →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for X4foundations commands, item IDs, and more.
Keep browsing — more X4foundations mods await