Skip to content

Conversation

@github-actions
Copy link
Contributor

Changes

Added IsButtonPressedByID: A condition to check if a button is held down using its ID.

Added IsButtonJustPressedByID: A condition to trigger only once when a button is first pressed.

Added IsButtonReleasedByID: A condition to trigger when a button is released.

Improved Flexibility: Users can now support any non-standard button (like IDs 17, 18, 19) without modifying the extension's source code.

How to use the new features

Find the new conditions: In the events sheet, search for "Gamepads" and look for conditions with "(by ID)" in their name.

Gamepad identifier: Enter the player number (1, 2, 3, or 4).

Button ID: Enter the numerical index of the button.

Example: For most controllers, 0 is 'A/Cross', 1 is 'B/Circle'.

Special buttons: Use IDs like 17 or 18 for specialized arcade sticks or extra buttons that don't have standard names.

Dynamic Support: You can use a variable in the Button ID field (e.g., Variable(MyButton)) to let players remap their controls dynamically.

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

Example file

example.zip

Extension file

Gamepads.zip


Extension by @Edytor-Studio

You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type !update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:

!update [MyExtension.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/12709661/MyExtension.zip)

It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!

@github-actions github-actions bot requested a review from a team as a code owner January 14, 2026 16:24
@github-actions github-actions bot added the 🔄 Extension update An update for an existing extension label Jan 14, 2026
@D8H D8H added the 🔍 Reviewed extension An extension that is to be reviewed in great detail before merging. label Jan 14, 2026
@github-project-automation github-project-automation bot moved this to Needs review in Extensions review Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔄 Extension update An update for an existing extension 🔍 Reviewed extension An extension that is to be reviewed in great detail before merging.

Projects

Status: Needs review

Development

Successfully merging this pull request may close these issues.

3 participants