O'Reilly logo

iOS 7 Game Development by Dmitry Volevodz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Game controller basics

The Game Controller API is based on the Game Controller framework. Everything related to controllers happens there.

There are three types of controllers that are supported by the framework:

  • Standard form-fitting controller: This is a controller in which the iOS device resides. This controller has a direction pad, a pause button, four buttons, and two shoulder buttons.
  • Extended form-fitting controller: This is the same as the previous one, but it can also have up to two sticks and two more shoulder buttons.
  • Extended wireless controller: This is the same as the previous one, but it works wirelessly and is an external device without holding your iOS device in it.

The following figure shows the various types of controllers:

Different ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required