Game Development Reference
In-Depth Information
This makes a call to our new GetJoysticks() method at the end of the construct-
or. If you run this code now, you will see a list of game controllers displayed in Visual
Studio's Output pane. The following screenshot shows what this looks like on my
system, where I have one game controller connected to the computer:
The Output pane showing our Debug output
Note
Your output from this code will most likely be different than mine. So, you will
probably see a different list of controllers to what I have, so your output will likely
differ from that shown in the preceding screenshot.
Search WWH ::




Custom Search