diff --git a/InfernalRobotics/InfernalRobotics/Toggle.cs b/InfernalRobotics/InfernalRobotics/Toggle.cs index 338df12..d90ec72 100644 --- a/InfernalRobotics/InfernalRobotics/Toggle.cs +++ b/InfernalRobotics/InfernalRobotics/Toggle.cs @@ -88,10 +88,22 @@ private Assembly MyResolveEventHandler(object sender, ResolveEventArgs args) public string servoName = ""; [KSPField(isPersistant = true)] public string groupName = ""; + [KSPField(isPersistant = true)] - public string forwardKey = ""; + private string fKey = ""; + + public string forwardKey { + get{ return this.fKey;} + set{ this.fKey = value.ToLower(); } + } + [KSPField(isPersistant = true)] - public string reverseKey = ""; + private string rKey = ""; + + public string reverseKey { + get{ return this.rKey;} + set{ this.rKey = value.ToLower(); } + } [KSPField(isPersistant = false)] public string onKey = "p";