Book Image

Creative Greenfoot: RAW

By : Michael Haungs
Book Image

Creative Greenfoot: RAW

By: Michael Haungs

Overview of this book

Table of Contents (17 chapters)
Creative Greenfoot
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

OS X setup/workarounds


OS X does not directly support many gamepads. If you have a gamepad that is not directly supported, you can still use that gamepad to control your Greenfoot games.

Gamepad mapper software

There are several OS X applications available that will map a gamepad controller to keyboard keys and mouse actions. For example, you could map the D-Pad up, down, left, and right actions to the W, S, A, and D keys. Typically, these applications have better gamepad support than JInput, which is at the heart of gamepad support in Greenfoot and, therefore, will permit a wider variety of controllers to connect to your game. Another advantage is that you can program your scenarios without any thought to gamepad support. You assume standard keyboard and mouse controls, and the gamepad mapping software handles the rest. Here are some popular programs that do this mapping: