This site requires JavaScript, please enable it in your browser!
Greenfoot back

Gamepad Buttons

This diagram shows each of the buttons which the GamePad library supports:

Controller_layout

Analog sticks and the direction pad are represented through the Axis enum, whilst buttons are listed in the Buttons enum. These allow you to state which buttons you are interacting with on your GamePad.