deathkiller / jazz2

🎮 · Jazz² Resurrection: Open-source reimplementation of Jazz Jackrabbit 2
https://deat.tk/jazz2/
GNU General Public License v3.0
492 stars 18 forks source link

Button press to switch weapon doesn't always work #43

Closed Hexaae closed 3 years ago

Hexaae commented 3 years ago

When I press button is often ignored and I have to push button 2-3 times to actually switch weapon. Same thing happens for my XBox One Bluetooth and Hori Fighting Stick Mini devices. In the control settings panel the assigned button is always working fine on single press.

Win 10, 1070 8GB, i7-8750H, NVidia 432.31

Hexaae commented 3 years ago

Just noticed keyboard (SPACE button) has the same issues: switch weapon button works 1/3.

deathkiller commented 3 years ago

Weapon can be switched only when player is controllable. Player is not controllable if, for example, is in tube or is hit by enemy. I think that's the case, so it's not bug. Otherwise controls works good for me.

Hexaae commented 3 years ago

Interesting: I can reproduce it on 2 different Win 10 PCs

deathkiller commented 3 years ago

Switch weapon button is handled the same way as other buttons. There is no reason why it shouldn't work, so I really don't know...