read keybindings.in in the correct (reversed) order

This commit is contained in:
yuni 2024-04-25 00:47:42 +02:00
parent 8553abd1fd
commit 6843784f30
2 changed files with 22 additions and 22 deletions

View file

@ -1,22 +1,22 @@
X: Teleport to target [CHEAT]
C: Impossibly instant stopping [CHEAT]
Shift+V/B: Same as V/B, but a thousand times faster [CHEAT]
V/B: Impossible acceleration forward/backward [CHEAT]
G: Toggle god mode + cheats [CHEAT]
JKULIO: Mouseless camera rotation
F11: Toggle fullscreen
F7: Restart game
F4: Toggle music
F3: Toggle sound effects
F2: Toggle shadows
Y: Rotation stabilizer
F: 3rd person view
Right click: Zoom [AUGMENTED REALITY ONLY]
Left click: Target objects [AUGMENTED REALITY ONLY]
Tab: Toggle HUD + Augmented Reality
M: Map
Q: Exit vehicle
E: Interact: Talk to people, enter vehicles
R: Rotate (hold + move mouse)
AWSD/Shift/Ctrl: Movement
Space: Slow down (or match velocity)
AWSD/Shift/Ctrl: Movement
R: Rotate (hold + move mouse)
E: Interact: Talk to people, enter vehicles
Q: Exit vehicle
M: Map
Tab: Toggle HUD + Augmented Reality
Left click: Target objects [AUGMENTED REALITY ONLY]
Right click: Zoom [AUGMENTED REALITY ONLY]
F: 3rd person view
Y: Rotation stabilizer
F2: Toggle shadows
F3: Toggle sound effects
F4: Toggle music
F7: Restart game
F11: Toggle fullscreen
JKULIO: Mouseless camera rotation
G: Toggle god mode + cheats [CHEAT]
V/B: Impossible acceleration forward/backward [CHEAT]
Shift+V/B: Same as V/B, but a thousand times faster [CHEAT]
C: Impossibly instant stopping [CHEAT]
X: Teleport to target [CHEAT]

View file

@ -647,7 +647,7 @@ fn handle_input(
q_camera: Query<&Transform, With<Camera>>,
) {
if keyboard_input.just_pressed(settings.key_help) {
for line in include_str!("data/keybindings.in").trim().split("\n") {
for line in include_str!("data/keybindings.in").trim().lines().rev() {
log.add(line.to_string(), "".to_string(), LogLevel::Always);
}
}