O'Reilly logo

Pro Android Games, Second Edition by Vladimir Silva

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

Chapter 8

Fun with Bluetooth Controllers

If you are a hardcore gamer, you may hear complaints about how difficult is to play games (such as first-person shooters) with a touch screen interface or a tiny keyboard. Try playing a game like Doom with a touch screen versus a controller. You will get frustrated very quickly with the touch screen. Some games simply require a controller. Google has wisely used the popular and open BlueZ Bluetooth stack in Android, making it easy to access all sorts of wireless devices. This chapter will show you how easy it is to integrate two popular gaming controllers, Wiimote and Zeemote, with your game.

First you’ll look at the always popular Wiimote (Wii Remote). Nintendo has released sales figures for this controller ...

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