I have a Keys array called "KeyboardInput". How can I store it in Settings and then also read them out as seperate keys somewhat like:
for (int i = 0; i < KeyboardInput.Length; i++)
{
KeyboardInput[i] = (Keys)Enum.Parse(typeof(Keys), {{ Properties.Settings.Default.Keys[i]?? }});
}
Keys[] KeyboardInput = { Keys.A, Keys.S, Keys.N, Keys.M, Keys.H, Keys.F, Keys.T, Keys.G, Keys.W, Keys.Q, Keys.Z, Keys.X, Keys.Right, Keys.Left, Keys.Up, Keys.Down };