Skip to content

Extension update: MousePointerLock#2043

Open
github-actions[bot] wants to merge 1 commit intomainfrom
extension/Peeblo-r/2042
Open

Extension update: MousePointerLock#2043
github-actions[bot] wants to merge 1 commit intomainfrom
extension/Peeblo-r/2042

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 19, 2026

Changes

Made it so all keyboard inputs are cancelled when the mouse pointer is unlocked.

There was an issue where if you were holding keys down then unlocked the cursor by pressing the ESC key, those keys would get stuck as held down despite not being held down.

Overall this is the best fix I could think of, the program can't tell that the Escape key specifically was pressed while pointer lock is active and I believe that behaviour is hardcoded into javascript.

Since some projects may already have their own workarounds without cancelling all keyboard inputs, I'm changing the version number from 0.3.0 to 1.0.0

(Also updated the icon to be more self-explanatory)

How to use the new features

Hold a key down then press esc to see the key doesn't get stuck as held down anymore.

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

game.zip

Extension file

MousePointerLock.zip


Extension by @Peeblo-r

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 February 19, 2026 16:51
@github-actions github-actions bot added the 🔄 Extension update An update for an existing extension label Feb 19, 2026
@D8H D8H added the 🔍 Reviewed extension An extension that is to be reviewed in great detail before merging. label Feb 19, 2026
@github-project-automation github-project-automation bot moved this to Needs review in Extensions review Feb 19, 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.

2 participants

Comments