![]() GetState() updates the Controller's state and returns the state information to the caller so that checks can be made on the input (which will be done later when we flesh out the program). ![]() _controllerState holds the state of the Xbox 360 Controller, _controllerNum holds a reference to which controller (0-3) is being stored by the class. This defines a simple C++ class that manages an Xbox 360 Controller. Void Vibrate( int leftVal = 0, int rightVal = 0) A COMPILER THAT SUPPORTS THIS METHOD OF LINKING LIBRARIES NOTE: COMMENT THIS OUT IF YOU ARE NOT USING ![]() #include #include // Now, the XInput Library We need the Windows Header and the XInput Header
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |