Skip to content

Conversation

D8H
Copy link
Contributor

@D8H D8H commented Sep 19, 2025

Demo

Changes

  • Add a condition to check if a button was just pressed
  • Fix the "Gamepads count" expression
  • Fix the "Last pressed button" expression
    • It now returns the last button that fullfil the "button was just pressed" condition instead of a random button that is held.
  • Fix "button is released" condition that was very rarely missing inputs
  • Avoid some allocations
  • Factorize the code
  • Remove unnecessary error logs
  • Remove paraphrasing comments

@D8H D8H self-assigned this Sep 19, 2025
@D8H D8H added 🔄 Extension update An update for an existing extension 🔍 Reviewed extension An extension that is to be reviewed in great detail before merging. labels Sep 19, 2025
@github-project-automation github-project-automation bot moved this to Needs review in Extensions review Sep 19, 2025
@GDevelopApp GDevelopApp deleted a comment from github-actions bot Sep 19, 2025
@D8H D8H marked this pull request as ready for review September 19, 2025 11:48
@D8H D8H requested review from a team as code owners September 19, 2025 11:48
@D8H D8H merged commit ec7bfcc into main Sep 28, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Needs review to Added to GDevelop in Extensions review Sep 28, 2025
@D8H D8H deleted the gamepad-just-pressed branch September 28, 2025 15:30
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: Added to GDevelop
Development

Successfully merging this pull request may close these issues.

1 participant