XInput Class
Manages the input devices of the game.
  • AddDevice(string, int) - This function adds an input device to the game. The first argument is the type of device it is and the second is the number you wish to assign it. Read the tutorial on Input in the Tutorials section for help with this.
  • Device(int) - This retrieves the XInputDevice with the number specified so its properties can be accessed.

Note: Only one keyboard and four Xbox 360 controller can be connected at once. Attempting to connect more than this will not work.

Last edited Mar 23, 2008 at 12:38 AM by Hazardous101, version 2


No comments yet.