Skip to content

Commit

Permalink
InputManager: add header text to input.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
emoose committed Jan 10, 2025
1 parent ad6336b commit 7386ab8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/input_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,15 @@ class InputManager
return false;
}

file << "# These bindings are used when UseNewInput is enabled inside OutRun2006Tweaks.ini\n";
file << "# With that enabled, you can use in-game Controls > Configuration dialog to change these during gameplay\n";
file << "# (editing this file manually can allow more advanced config, such as binding multiple inputs to a single action)\n";
file << "# If this file doesn't exist or is empty, bindings will be reset to default.\n";
file << "#\n";
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";
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";
file << "# Digital actions bound to analog inputs, eg. 'Gear Down- = RS-Y', will only trigger the action when RS-Y is negative\n";
file << "# Analog -> analog actions can also be inverted by adding a negative to them\n\n";
file << "[Gamepad]\n";
for (int i = 0; i < 3; ++i)
{
Expand Down

0 comments on commit 7386ab8

Please sign in to comment.