Skip to content

Commit

Permalink
Version 1.23
Browse files Browse the repository at this point in the history
Add modifier key support
  • Loading branch information
SirDiazo committed Nov 22, 2014
1 parent 245fe8e commit 5bb806b
Show file tree
Hide file tree
Showing 4 changed files with 670 additions and 344 deletions.
4 changes: 4 additions & 0 deletions AGExt/Editor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,8 @@ public void LoadCurrentKeyBindings()
AGXguiMod2Groups[i + 1] = false;
}
}
AGXguiMod1Key = (KeyCode)Enum.Parse(typeof(KeyCode), AGExtNode.GetValue("KeySetModKey1" + CurrentKeySet.ToString()));
AGXguiMod2Key = (KeyCode)Enum.Parse(typeof(KeyCode), AGExtNode.GetValue("KeySetModKey2" + CurrentKeySet.ToString()));
}

public static void SaveCurrentKeyBindings()
Expand Down Expand Up @@ -1441,6 +1443,8 @@ public static void SaveCurrentKeyBindings()
}
AGExtNode.SetValue("KeySetMod1Group" + CurrentKeySet.ToString(), GroupsMod1ToSave);
AGExtNode.SetValue("KeySetMod2Group" + CurrentKeySet.ToString(), GroupsMod2ToSave);
AGExtNode.SetValue("KeySetModKey1" + CurrentKeySet.ToString(), AGXguiMod1Key.ToString());
AGExtNode.SetValue("KeySetModKey2" + CurrentKeySet.ToString(), AGXguiMod2Key.ToString());



Expand Down
Loading

0 comments on commit 5bb806b

Please sign in to comment.