User Tools

Site Tools


proton:gamepadmanager_60beatgamepad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
proton:gamepadmanager_60beatgamepad [2012/07/07 08:01] sethproton:gamepadmanager_60beatgamepad [2012/07/08 08:23] (current) seth
Line 4: Line 4:
 This pad is iOS only.  See RTLooneyLadders for a working example. This pad is iOS only.  See RTLooneyLadders for a working example.
 ===Adding files and libs (iOS) === ===Adding files and libs (iOS) ===
-Add the following files to your xCode project:+Add the following files to your Xcode project:
   * Add /shared/Gamepad/GamepadProvider60Beat.mm   * Add /shared/Gamepad/GamepadProvider60Beat.mm
   * Add /shared/Gamepad/GamepadProvider60BeatNative.mm   * Add /shared/Gamepad/GamepadProvider60BeatNative.mm
Line 13: Line 13:
 Copy the contents of the SDK to /shared/iOS/60BeatGamepad.  Why do I tell you where to copy it?  It's so the RTLooneyLadder example will find it, and you'll have a single place to change when new SDK versions come out. Copy the contents of the SDK to /shared/iOS/60BeatGamepad.  Why do I tell you where to copy it?  It's so the RTLooneyLadder example will find it, and you'll have a single place to change when new SDK versions come out.
  
-  * Add /shared/iOS/60BeatGamepad/lib/SBJoystickLib.a to your xCode project +  * Add /shared/iOS/60BeatGamepad/lib/SBJoystickLib.a to your Xcode project 
-  * Add /shared/iOS/60BeatGamepad/lib/SBJoystick.h to your xCode project+  * Add /shared/iOS/60BeatGamepad/lib/SBJoystick.h to your Xcode project
  
 ===Code additions in App.cpp === ===Code additions in App.cpp ===
Line 34: Line 34:
 </code> </code>
  
-Next, in xCode, define RT_IOS_60BEAT_GAMEPAD_SUPPORT in the preprocesser macros in the project target.  It's not enough to just define it in App.h, because one of the iOS audio managers actually see this and adjust some audio things as needed.  (This pad actually sends fake audio signals through the mic jack to communicate)+Next, in Xcode, define RT_IOS_60BEAT_GAMEPAD_SUPPORT in the preprocesser macros in the project target.  It's not enough to just define it in App.h, because one of the iOS audio managers actually see this and adjust some audio things as needed.  (This pad actually sends fake audio signals through the mic jack to communicate)
  
 That's it! That's it!
proton/gamepadmanager_60beatgamepad.1341648065.txt.gz · Last modified: 2012/07/07 08:01 by seth