How to drive with keyboard (W/S) instead of mouse buttons (LMB/RMB) and configure 1:1 mouse camera? #304
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#304
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@isim89920-coder on GitHub · 2026-12-05 22:53 UTC · original
I'm playing on Windows (NVIDIA) using v1.1.2 with Keyboard + Mouse. Currently, accelerating and braking in vehicles are mapped to Left/Right Mouse Buttons (LMB/RMB).How can I properly configure the game so that:
Accelerating and braking in vehicles work with W and S keys instead of mouse clicks?
Mouse camera movement feels like true 1:1 PC mouse control with higher sensitivity?I tried setting LARP_KEYBOARD_DRIVING=1 and LARP_MOUSE_CAMERA=direct in series-s.cmd, as well as renaming controls.example.ini to controls.ini, but I want to make sure I'm not missing any other setting or controls.ini parameter. Thanks!
@murraydylan77-commits on GitHub · 2026-12-05 23:13 UTC · original
Add a line in the launch.ps1 in bin folder with $env: (the command for it) = ‘1’
@vanya890 on GitHub · 2026-12-06 01:34 UTC · original · edited 2026-12-06 01:39 UTC
For the setup you described, both options are already supported; the important part is setting them in
Larp\bin\launch.ps1before the game starts (rather than editingcontrols.inifor these switches):LARP_KEYBOARD_DRIVING=1enables W/S throttle and brake while driving (supported title build 1.0.2.1).LARP_MOUSE_CAMERA=directselects the direct Raw Input camera path, bypassing the right-stick dead zone, smoothing and acceleration. It requires mouse/keyboard input mode;LARP_CONTROLS=paddisables it.LARP_MOUSE_CAMERA_SENSis radians per raw mouse count;0.0015is the default. The accepted range is0.00005..=0.05.For the normal right-stick mouse path,
LARP_MOUSE_SENSis the separate multiplier (default1.0). You do not need to createcontrols.iniunless you want custom key bindings. I added the direct-camera explanation to the controls guide in PR #499: #499