Key this[string action] { set { inputs[action] = value; if (controller.ContainsButton(value)) { controller.AddButton(value); } } }