Book Image

Libgdx Cross-platform Game Development Cookbook

Book Image

Libgdx Cross-platform Game Development Cookbook

Overview of this book

Table of Contents (20 chapters)
Libgdx Cross-platform Game Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Detecting User Input

In this chapter, we will cover the following recipes:

  • Detecting user input via event polling

  • Detecting user input via event listening

  • Managing multiple listeners at once

  • Detecting more complex gestures

  • Introducing the controllers API

  • Input mapping for cross-platform development