5.4 KiB
Controls, Mouse & Keyboard, DualSense & Trainer Guide
1. Mouse & Keyboard (LARP_CONTROLS=auto|mnk|pad)
Stock larp only supported keyboard-as-gamepad buttons with no mouse input. Our Enhanced Fork (v2+) adds Raw Input (WM_INPUT) mouse camera look, mouse triggers, scroll-wheel cycling, PC keyboard key-cap prompts, and customizable controls.ini keybinds.
Capturing & Releasing the Mouse
- In
auto, an active physical controller takes priority. Keyboard/mouse mapping returns after the last active pad has been idle for 300 ms, or immediately when it disconnects.mnkkeeps the configured bindings available regardless of past controller input. - While captured, a sampled short button/trigger press remains available to the next current pad reading for up to 100 ms. This does not change key bindings, extend mouse movement or generate repeated presses.
- Capture mouse: Wait for startup shader compilation to finish, then left-click inside the game window (when no controller is active, or anytime when
LARP_CONTROLS=mnk). - Release mouse: Press
F10(opens the settings overlay) orAlt+Tabout of the window.
Default PC Keyboard & Mouse Bindings
| Action | Default Key / Mouse Button | Xbox Equivalent |
|---|---|---|
| Move / Steer | W A S D |
Left Stick |
| Camera Look / Aim | Mouse Movement (or I J K L) |
Right Stick |
| Shoot / Accelerate (Gas) | Left Mouse Button (or X) |
Right Trigger (RT) |
| Aim / Brake / Reverse | Right Mouse Button (or Z) |
Left Trigger (LT) |
| Sprint | Left Shift |
A |
| Confirm / Accept | Enter |
A |
| Jump / Handbrake | Space |
X |
| Reload / Cancel / Back | R / Backspace |
B |
| Enter / Exit Vehicle | F |
Y |
| Interact / Context | E |
D-Pad Right |
| Weapon Wheel | Tab / Mouse Side Button 4 |
Left Bumper (LB) |
| Take Cover | Q / Mouse Side Button 5 |
Right Bumper (RB) |
| Cycle Weapons / D-Pad Left-Right | Mouse Scroll Wheel | D-Pad Left / Right |
| Crouch / Stealth | Left Ctrl |
Left Stick Click (L3) |
| Look Behind | C / Middle Mouse Click |
Right Stick Click (R3) |
| Phone / D-Pad | 1 2 3 4 (or Arrow Keys) |
D-Pad Up / Down / Left / Right |
| Camera Mode / View | V |
View / Select |
| Pause / Map | Esc / P / M |
Menu / Start |
| Larp Settings Menu | F10 |
— |
| Larp Performance Overlay | F9 |
— |
| Borderless Window Toggle | Alt + Enter |
— |
Optional Vehicle Controls (off by default)
- Keyboard driving (
keyboard_driving = 1incontrols.ini, orLARP_KEYBOARD_DRIVING=1): in the driver's seat (not aircraft),W/Sare gas / brake,Shift/Ctrllean, and the right / left mouse buttons areLB/RB. - No vehicle camera auto-center (
vehicle_auto_center = 0, orLARP_VEHICLE_AUTO_CENTER=0): in a vehicle the camera stays where you left it.
Both need build 1.0.2.1 (checked at start) and change nothing when left off.
Customizing Keybinds & Sensitivity (controls.ini)
controls.ini is optional (defaults work automatically without creating it). To customize bindings or sensitivity:
- Copy
docs/controls.example.iniinto your mainLarp\folder and rename it tocontrols.ini(next tooptions.ini). - Edit any key or sensitivity value and restart the game.
Showing PC Key-Cap Button Prompts In-Game
With LARP_PROMPTS=auto (the default) key caps are chosen at start when LARP_CONTROLS=mnk is set or no controller is connected. To force them anyway (for example with a pad plugged in), set in Larp\bin\launch.ps1:
$env:LARP_PROMPTS = 'keys'
2. PlayStation DualSense / DualSense Edge / DualShock 4
Enhanced larp.exe includes native HID support over both USB and Bluetooth — no third-party remappers needed!
- Close DS4Windows and Steam completely before launching! Both tools intercept or create virtual Xbox controllers that conflict with native HID polling.
- Connect your DualSense or DualShock 4 via USB or Bluetooth and launch
series-s.cmdorseries-x.cmd. - PlayStation Prompts (
Cross,Circle,Square,Triangle,L1–R2,Touchpad) activate automatically whenLARP_PROMPTS=autodetects a PlayStation controller. - Adaptive Triggers (
LARP_DS_TRIGGERS=1) are enabled by default inlaunch.ps1. - Optional Customization (in
Larp\bin\launch.ps1):$env:LARP_DS_LIGHTBAR = 'FF0080'(hex RGB color, or'off'to turn off the LED bar)$env:LARP_DS_TRIGGER_RUMBLE = '1'(mirrors game rumble motors onto adaptive triggers)$env:LARP_PROMPTS = 'xbox'(if you prefer Xbox ABXY icons on a PlayStation pad)
3. Native mods\ Loader & Trainers (WorldSmith / Z-ROX / Kerosene)
Enhanced larp.exe loads .dll and .asi mods natively at startup — no xinput1_4.dll proxy needed:
- Create a
modsfolder inside yourLarp\folder (Larp\mods\). - Drop your trainer
.dllor.asi(e.g.,worldsmith.dll) intoLarp\mods\. - Z-ROX Controller Hold (
LARP_TRAINER=1): WhenLARP_TRAINER=1is set,larp.exemaps the shared Z-ROX memory page (0x5A52_4F58_0000) so navigating the Z-ROX menu on a gamepad pauses D-Pad / A / B / LB / RB inputs in-game automatically. - Set
$env:LARP_NO_MODS = '1'if you want to temporarily boot with all mods disabled.