Skip to content

Commit 7386ab8

Browse files
committed
InputManager: add header text to input.ini
1 parent ad6336b commit 7386ab8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/input_manager.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,15 @@ class InputManager
678678
return false;
679679
}
680680

681+
file << "# These bindings are used when UseNewInput is enabled inside OutRun2006Tweaks.ini\n";
682+
file << "# With that enabled, you can use in-game Controls > Configuration dialog to change these during gameplay\n";
683+
file << "# (editing this file manually can allow more advanced config, such as binding multiple inputs to a single action)\n";
684+
file << "# If this file doesn't exist or is empty, bindings will be reset to default.\n";
685+
file << "#\n";
686+
file << "# Actions with a negative symbol after them ('Steering-') either treat the input as a negative value, or only trigger the action on negative inputs\n";
687+
file << "# Analog actions bound to digital inputs, eg. 'Steering- = DPad-Left', will make DPad-Left send a negative Steering value, making it move to the left\n";
688+
file << "# Digital actions bound to analog inputs, eg. 'Gear Down- = RS-Y', will only trigger the action when RS-Y is negative\n";
689+
file << "# Analog -> analog actions can also be inverted by adding a negative to them\n\n";
681690
file << "[Gamepad]\n";
682691
for (int i = 0; i < 3; ++i)
683692
{

0 commit comments

Comments
 (0)