Skip to content
Connected RailsConnected Rails

Controls and key bindings

Every one of them can be changed: the Controls tab of the settings page (Q/E walk the tabs) has one row per control, showing the key on the left of the value column and the controller input on the right. Enter on a row takes the next key or controller button pressed, Backspace takes the binding away, Esc leaves it as it was, and one key only ever works one control — binding it somewhere else takes it off whoever had it. The tab is reachable from the pause overlay as well, so a binding can be changed with the train standing on the line, and the key sheet (F5) behind it is rewritten as soon as it is. The choice is kept in the settings file under [controls].

A controller is a first-class input: any connected pad answers to the same bindings. Out of the box the D-pad is the power controller, the triggers are the brakes, A is the horn, B the Sifa and Y the PZB acknowledge — the buttons are named by the letters Xbox pads print on them rather than by Bevy’s compass points.

Levers on an axis. The last group of the page is the three controls that have a position rather than a direction — power controller, driver’s brake valve, direct brake. A key can only nudge one; a stick or a trigger holds it. Enter on such a row takes the next axis moved past half travel, and from then on that axis drives the lever absolutely: the stick or trigger is where the lever stands, and the keys for it are no longer read. The power controller runs the full −1 … 1, so a stick pushed down is the electric brake and a trigger gives the positive half; the brake valve maps 0 … 1 onto the full 1.5 bar of pipe drop. Lap, fill and emergency stay on their keys — an axis has no detent for them, and emergency latches until a key leaves it. Nothing is bound here out of the box: a bound lever writes its control every frame, which would otherwise hold the brake valve at Release for everyone who has a pad plugged in and never touches it.

Looking around and walking are the one deliberate exception: the right stick looks and the left stick walks, always, and neither is bindable. Those are not levers of the desk.

The table below is what everything ships with.

Key Function
W / S Power controller up/down (negative = electric brake), X = zero
R / F / T Reverser forward / reverse / neutral
A / D Driver’s brake valve release / brake
Q / E / Z Lap / emergency brake / fill
C / V Direct (additional) brake apply / release
L Release button of the loco brake
P / O Parking brake / pre-controlled (ep) brake on-off
G Sanding
J / K / I Door release left / right, close the doors
Insert / Home Couple to what stands ahead / uncouple behind the occupied vehicle
Tab Take the train over from the AI / hand it back
F10 Take the next working the operating day offers when yours has ended
Space Sifa (driver’s safety device)
Page Down / End / Delete PZB acknowledge / release / override
N / M / B LZB takeover / end / function test
Y Wipers: off → interval → slow → fast (cycles)
U Train type switch (Zugartschalter): O → M → U, at standstill
^ Range selector of a two-range gearbox: shunting gear ↔ road gear, takes at a stand
H Horn
1–4 Battery / pantograph / main switch / compressor
5 Start the diesel engine
6 / 7 / 8 AFB on/off / dial down / dial up (in 10 km/h steps)
9 / 0 Headlights / cab light
, / . Instrument backlighting dimmer down / up
Esc Pause: resume, settings, back to the main menu, quit — the world stands still under the overlay
F1–F4 Camera: driver’s seat / external / lineside / first person
F5 / F6 Keyboard sheet / diagnostics overlay
F7 Display: full → reduced → off, and round again
F8 Console: weather and time move the world, prof profiles the frames (Tab completes, ↑/↓ history, Enter runs, Esc closes). The line is Bevy’s text input: ←/→, Home/End, Ctrl+arrows, selection with the mouse or Shift, Ctrl+C/X/V with the system clipboard, and IME input. Against a server the weather is asked of it, the clock stays single player
F9 Mod manager (↑/↓ select, Enter toggles; in-game it applies on the next restart, on the main menu it applies on start, rows are clickable). A .crails mod package dropped onto the window is installed on the main menu (dropped during a run, it waits for the menu)
Arrow keys View direction, Numpad +/- camera distance
WASD / Shift First person (F4): walk (1.5 m/s) and run (5 m/s) through the train and over the ground. The walker falls where the ground drops away, climbs what is no higher than a step, is stopped by what stands at chest height and walks on through the train from vehicle to vehicle. The mouse looks around on its own, the cursor is caught on the crosshair and the driving keys rest until F1 puts the driver back on the seat
Space First person: jump — a push off the ground of about half a metre, wherever he is standing (on the ground, on a platform, in the train)
E First person: through the door — out beside the train, and back in at any vehicle standing next to you. A passenger door has to be open for it; a traction unit’s own cab door opens itself, both only at a stand
Mouse Left button operates the controls of the 3D cab (click, drag, wheel), right button looks around

Train protection and door control are vehicle equipment, not command line options: the safety and doors fields of a VehicleSpec state which Indusi/PZB build, which Sifa and which door control a vehicle carries (see Mods). Whether the equipment can do anything also depends on the line — the LZB needs a conductor cable, the PZB needs magnets. Switching the battery off and on again (1) restarts the function test of every system on board.