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) and then you’ll look at a far less popular Zeemote ...
Get Pro Android Games, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.