---
title: "GamepadButton | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Variable GamepadButton

GamepadButton: { prototype: [GamepadButton](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GamepadButton/); new (): [GamepadButton](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GamepadButton/) }

#### Type Declaration

-   -   new (): [GamepadButton](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GamepadButton/)
    -   #### Returns [GamepadButton](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GamepadButton/)
        
-   ##### prototype: [GamepadButton](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GamepadButton/)
