Skip to content

Commit

Permalink
InputManager: load/save bindings to .input.ini file
Browse files Browse the repository at this point in the history
todo:
- dpad left/right steering inputs get cleared after rebinding steering, need to fix that & maybe show them in the dialog
- still need to compare sensitivity against vanilla game
  • Loading branch information
emoose committed Jan 10, 2025
1 parent eefcbb4 commit ad6336b
Show file tree
Hide file tree
Showing 3 changed files with 414 additions and 79 deletions.
2 changes: 2 additions & 0 deletions src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace Module
constexpr std::string_view UserIniFileName = "OutRun2006Tweaks.user.ini";
constexpr std::string_view LodIniFileName = "OutRun2006Tweaks.lods.ini";
constexpr std::string_view OverlayIniFileName = "OutRun2006Tweaks.overlay.ini";
constexpr std::string_view BindingsIniFileName = "OutRun2006Tweaks.input.ini";
constexpr std::string_view LogFileName = "OutRun2006Tweaks.log";

void init()
Expand All @@ -38,6 +39,7 @@ namespace Module
UserIniPath = dllParent / UserIniFileName;
LodIniPath = dllParent / LodIniFileName;
OverlayIniPath = dllParent / OverlayIniFileName;
BindingsIniPath = dllParent / BindingsIniFileName;

Game::init();
}
Expand Down
Loading

0 comments on commit ad6336b

Please sign in to comment.