Explorar o código

Fixed doxygen warnings on Game.
Updated gameplay-api html for v1.6.0

setaylor %!s(int64=13) %!d(string=hai) anos
pai
achega
177d0695d4
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      gameplay/src/Game.h

+ 5 - 0
gameplay/src/Game.h

@@ -453,8 +453,13 @@ public:
      * The gamepad index can change when connected and disconnected so you
      * cannot rely on this other than iterating through them all to display
      * them or poll them.
+     * 
+     * The preferPhysical will bump over virtual gamepads if physical gamepads are
+     * connected and return the request index of the first or second physcial and then 
+     * return back to the first virtual after.
      *
      * @param index The index of the gamepad to retrieve.
+     * @param preferPhysical true if you prefer return a physical if exist; false if only virtual.
      * @return The gamepad at the specified index.
      */
     inline Gamepad* getGamepad(unsigned int index, bool preferPhysical = true) const;