Skip to content

Commit

Permalink
Save axis config
Browse files Browse the repository at this point in the history
  • Loading branch information
DJ YT committed Mar 9, 2021
1 parent 8203eeb commit 287f3ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/frontend/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ bool Config::save()
pt_config.put("controls.padconfig.menu", controls.padconfig[6]);
pt_config.put("controls.padconfig.view", controls.padconfig[7]);
pt_config.put("controls.analog.<xmlattr>.enabled", controls.analog);
pt_config.put("controls.analog.axis.accel", controls.axis[1]);
pt_config.put("controls.analog.axis.brake", controls.axis[2]);

pt_config.put("engine.freeplay", (int) engine.freeplay);
pt_config.put("engine.time", engine.freeze_timer ? 4 : engine.dip_time);
Expand Down

0 comments on commit 287f3ee

Please sign in to comment.