Chapter 2. Controlling Your PlayStation Mobile Device

In this chapter we will cover:

  • Handling the controller's d-pad and buttons
  • Using the Input2 wrapper class
  • Using the analog joysticks
  • Handling touch events
  • Using the motion sensors
  • Creating onscreen controls for devices without gamepads
  • Configuring an Android application to use onscreen controls