Stay organized with collections
Save and categorize content based on your preferences.
Android Game Development Kit - Game Controller library reference
These are the reference pages for the Game Controller library of the Android Game Development Kit.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-03-15 UTC.
[null,null,["Last updated 2022-03-15 UTC."],[],[],null,["# Android Game Development Kit - Game Controller library reference\n================================================================\n\nThese are the reference pages for the Game Controller library of the Android Game Development Kit.\n\n| Modules ------- ||\n|-------------------------------------------------------------------------------------|--------------------------------------------------------|\n| [Game Controller main interface](/reference/games/game-controller/group/paddleboat) | The main interface to use the Game Controller library. |\n\n| Structs ------- ||\n|----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [Paddleboat_Controller_Battery](/reference/games/game-controller/struct/paddleboat-controller-battery) | A structure that describes the current battery state of a controller. |\n| [Paddleboat_Controller_Data](/reference/games/game-controller/struct/paddleboat-controller-data) | A structure that contains the current data for a controller's inputs and sensors. |\n| [Paddleboat_Controller_Info](/reference/games/game-controller/struct/paddleboat-controller-info) | A structure that contains information about a particular controller device. |\n| [Paddleboat_Controller_Mapping_Data](/reference/games/game-controller/struct/paddleboat-controller-mapping-data) | A structure that describes the button and axis mappings for a specified controller device running on a specified range of Android API levels. |\n| [Paddleboat_Controller_Pointer](/reference/games/game-controller/struct/paddleboat-controller-pointer) | A structure that contains virtual pointer position data. |\n| [Paddleboat_Controller_Thumbstick](/reference/games/game-controller/struct/paddleboat-controller-thumbstick) | A structure that contains X and Y axis data for an analog thumbstick. |\n| [Paddleboat_Controller_Thumbstick_Precision](/reference/games/game-controller/struct/paddleboat-controller-thumbstick-precision) | A structure that contains axis precision data for a thumbstick in the X and Y axis. |\n| [Paddleboat_Motion_Data](/reference/games/game-controller/struct/paddleboat-motion-data) | A structure that contains motion data reported by a controller. |\n| [Paddleboat_Mouse_Data](/reference/games/game-controller/struct/paddleboat-mouse-data) | A structure that contains input data for the mouse device. |\n| [Paddleboat_Vibration_Data](/reference/games/game-controller/struct/paddleboat-vibration-data) | A structure that describes the parameters of a vibration effect. |"]]