Create Jetpack

Create Jetpack

9M Downloads

Mouse Keybinds don't function properly

BratrilliantG7 opened this issue ยท 0 comments

commented

What happened?

When either of the two functions (Toggle or Hover) are bound to mouse buttons (for example, I like to use Button 5 to toggle flight/jetpack mods), they don't actually trigger unless you are also pressing a keyboard button. And only if it's the last keyboard button you've pressed.

For example, if you are standing still and hold Button 5, it should rapidly flick on and off as it would do with any normal keyboard button bind, but it does nothing. However, if you continue holding Button 5 then hold 'W' it will begin flickering as it should and while still holding 'W' you can freely click the mouse button to toggle the jetpack however you like. The same happens if you press and hold any keyboard button, whether they are bound to something or not.

The only strange caveat is that the mouse button will only work while the most recent keyboard button press is held down. So if you are holding 'W' and Button 5, it flickers like normal. Then if you press 'D' it continues flickering as normal until you release 'D', at which point the mouse button will no longer function, even if you're still holding 'W'.

I can temporarily work around the whole problem by assigning the key to a keyboard button like Tilde, but I'd really prefer if this got fixed. In large modpacks, all of my nearby buttons around WASD is already taken so being able to quickly flick it on and off on my mouse is so convenient.

Loader

forge

Mod Version

3.3.1

Minecraft Version

1.19

Relevant log output

No response