[Input] Fixed trigger ToString()

This commit is contained in:
thefiddler 2014-09-03 00:10:21 +02:00
parent 6c2a6336b5
commit bf9f7c9479
2 changed files with 3 additions and 3 deletions

View file

@ -110,8 +110,8 @@ namespace OpenTK.Input
public override string ToString()
{
return String.Format(
"{{Sticks: {0}; Buttons: {1}; DPad: {2}; IsConnected: {3}}}",
ThumbSticks, Buttons, DPad, IsConnected);
"{{Sticks: {0}; Triggers: {1}; Buttons: {2}; DPad: {3}; IsConnected: {4}}}",
ThumbSticks, Triggers, Buttons, DPad, IsConnected);
}
/// <summary>

View file

@ -86,7 +86,7 @@ namespace OpenTK.Input
public override string ToString()
{
return String.Format(
"{{Left: {0:f2}; Right: {1:f2}}}",
"({0:f2}; {1:f2})",
Left, Right);
}