LockUItoKBM
Prevents UI/hotbar/Menu switching when using mixed inputs.
模組介紹 作者原文
LockUItoKBM
A specialized utility mod for Valheim designed to lock the User Interface to Keyboard and Mouse (KBM) mode, preventing erratic UI flickering when using mixed input styles.
This mod is perfect for players who want to combine the analog movement precision of a controller with the superior aiming accuracy of a mouse/trackpad (such as Steam Deck or hybrid controller users).
🚀 Why Use This Mod?
By default, Valheim dynamically switches its entire UI back and forth whenever it detects a gamepad input vs. a mouse input. This mod forces the UI to stay locked in KBM mode.
This allows you to map:
- Left Stick: Analog joystick input (for seamless slow walk, jog, and run transitions).
- Right Stick / Touchpad & Buttons: Keyboard and mouse inputs for superior camera control, precise aiming, and quick inventory management.
Note: Because the UI is locked to KBM, you will need to use your mouse or right touchpad to control the cursor when navigating in-game menus.
📦 Installation & Setup
- Install the Mod: Drop LockUItoKBM.dll into your Valheim\BepInEx\plugins folder.
- Configure Steam Input:
- Open Steam and go to Valheim's Controller Layout settings.
- Search community layouts or customize your own so that the Left Stick is set to "Joystick Move".
- Ensure the rest of the controller bindings (buttons, triggers, right pad/stick) are mapped directly to Keyboard and Mouse inputs.
- Launch and Enjoy!
Credits: Cybin (Concept & Design) & Google Gemini (Code)
Release Date: September 11, 2026
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: