Is there an existing issue for this?
Enter the name of the extension
MousePointerLock
Describe the bug of the extension
When you lock the mouse and then press the ESC key (specifically that key) to unlock it, the keys you were holding at that moment get stuck held. For example, if you're pressing the W key to move forward in a first person shooter and you press the ESC key, the character keeps moving forward even if you're not holding the W key anymore, it'll only stop once you press that key again. I've seen many browser games that lock the mouse and do not have this issue.
Steps to reproduce
- Lock the mouse
- Hold a key
- Press the Escape key
- Stop holding the key
- The game will think you're still holding it down until you press it again
GDevelop platform
Desktop
GDevelop version
5.6.254
Platform info
Details
OS (e.g. Windows, Linux, macOS, Android, iOS)
OS Version (e.g. Windows 10, macOS 10.15)
Browser(For Web) (e.g. Chrome, Firefox, Safari)
Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)
Additional context
No response
Is there an existing issue for this?
Enter the name of the extension
MousePointerLock
Describe the bug of the extension
When you lock the mouse and then press the ESC key (specifically that key) to unlock it, the keys you were holding at that moment get stuck held. For example, if you're pressing the W key to move forward in a first person shooter and you press the ESC key, the character keeps moving forward even if you're not holding the W key anymore, it'll only stop once you press that key again. I've seen many browser games that lock the mouse and do not have this issue.
Steps to reproduce
GDevelop platform
Desktop
GDevelop version
5.6.254
Platform info
Details
OS (e.g. Windows, Linux, macOS, Android, iOS)
OS Version (e.g. Windows 10, macOS 10.15)
Browser(For Web) (e.g. Chrome, Firefox, Safari)
Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)
Additional context
No response