User Tools

Site Tools


60beat Gamepad


This pad is iOS only. See RTLooneyLadders for a working example.

Adding files and libs (iOS)

Add the following files to your Xcode project:

  • Add /shared/Gamepad/
  • Add /shared/Gamepad/
  • Add /shared/Gamepad/

Get the 60beat SDK from 60beat. I think you need to email them, don't see it freely available on the website.

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/SBJoystick.h to your Xcode project

Code additions in App.cpp

//Somewhere near the top the file, but under the existing #include statements add:

	#include "Gamepad/GamepadProvider60Beat.h"

//add the following somewhere after GamepadManager is initialized:

		//startup the 60beat gamepad stuff.. really, we should only do this if they've checked to use it in options
		//or such because their driver being turned on may slow us down.. unsure
		GetGamepadManager()->AddProvider(new GamepadProvider60Beat);

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!

proton/gamepadmanager_60beatgamepad.txt · Last modified: 2012/07/08 08:23 by seth