m1,m2 bindings

This commit is contained in:
Serge
2023-05-21 20:44:04 +02:00
parent ac60986646
commit 80e3971dad
3 changed files with 62 additions and 15 deletions

View File

@@ -56,6 +56,10 @@ namespace GHelper
{
if (combo.SelectedValue is not null)
AppConfig.setConfig(name, combo.SelectedValue.ToString());
if (name == "m1" || name == "m2")
Program.inputDispatcher.RegisterKeys();
};
txbox.Text = AppConfig.getConfigString(name + "_custom");