Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions InfernalRobotics/InfernalRobotics/Toggle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down