projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05af21e
)
[Examples] Draw device index for Joysticks and GamePads
author
thefiddler
<stapostol@gmail.com>
Sun, 5 Jan 2014 20:32:24 +0000
(21:32 +0100)
committer
thefiddler
<stapostol@gmail.com>
Sun, 5 Jan 2014 20:32:24 +0000
(21:32 +0100)
Source/Examples/OpenTK/Test/GameWindowStates.cs
patch
|
blob
|
history
diff --git
a/Source/Examples/OpenTK/Test/GameWindowStates.cs
b/Source/Examples/OpenTK/Test/GameWindowStates.cs
index
aa9d27d
..
b5bf17f
100644
(file)
--- a/
Source/Examples/OpenTK/Test/GameWindowStates.cs
+++ b/
Source/Examples/OpenTK/Test/GameWindowStates.cs
@@
-236,7
+236,7
@@
namespace Examples.Tests
GamePadState state = GamePad.GetState(i);
if (state.IsConnected)
{
- DrawString(gfx,
caps.ToString(
), line++);
+ DrawString(gfx,
String.Format("{0}: {1}", i, caps
), line++);
DrawString(gfx, state.ToString(), line++);
}
}
@@
-248,7
+248,7
@@
namespace Examples.Tests
JoystickState state = Joystick.GetState(i);
if (state.IsConnected)
{
- DrawString(gfx,
caps.ToString(
), line++);
+ DrawString(gfx,
String.Format("{0}: {1}", i, caps
), line++);
DrawString(gfx, state.ToString(), line++);
}
}