Native Hotkey API

⭐ — (11 endorsements) 📥 346 downloads 📌 v8.00.09 📅 6/28/2026
🟡 Updated this year

By ChemODun · User Interface

⬇ Download Mod Source: Nexus Mods ↗ 📅 Updated: 8/9/2026 📅 Created: 6/28/2026

🔍 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.

A hotkey fires once, on press (no separate press/release/repeat events). Each registration declares a mandatory area (one or more of `'map'`, `'pilot'`, `'fps'`, `;`-separated if more than one) describing where it's allowed to fire and what "selected object" means for it, and an optional isObjectRequired flag to skip firing when there's nothing selected/targeted.

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

[] X4: Foundations: Version 9. 00 or higher and UI Extensions and HUD: Version v9. 0. 0. 7 or higher by kuertee.

  • [] Available on Nexus Mods: UI Extensions and HUD

Installation

  • [] Steam Workshop: Native Hotkey API

    [] Nexus Mods: Native Hotkey API

Player-facing UI

A Hotkey Management entry is added to the top-level Options menu, right before Settings.

Important: this menu is only available when the save is loaded or new game is started, i.e. is not accessible from the main menu!

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

📋 All X4foundations Mods 🏆 Top 25 📂 More User Interface 👤 More by ChemODun 🔎 Similar Mods 🌐 Best User Interface (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods