mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-24 04:16:50 +00:00
[Examples] Draw device index for Joysticks and GamePads
This commit is contained in:
parent
05af21e61b
commit
fc81f30251
|
@ -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++);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue