[StrangePan][2.0.41] Shoot on <Enter> triggers in text fields
Posted: Sat Nov 02, 2024 9:27 am
Hello!
Since I'm using a split ergodox keyboard, I happen to have my enter key on my left keyboard instead of my spacebar (spacebar being on the right half only). Therefore, I've got the [Enter] key bound to the "Shoot enemy" action.
When typing in the game, e.g. in the chat or when searching for something in the inventory, I of course end the text by pressing [Enter], to send the message or complete the search. However, because my "Shoot enemy" action is bound to that key, pressing [Enter] always fires my weapon as well. While typing, obviously no other key performs their other bound action, i.e. typing "wasd" won't move my character around in a circle, so I'd assume the same should be true for [Enter]. All other actions for the key should be disabled while typing.
Problem: Pressing [Enter] while typing (i.e. to send a message) also performs the "Shoot enemy"-action if the [Enter] key is bound to that action (causing non-targeted weapons like the shotgun to fire)
Expected: Pressing [Enter] while typing only ends the search or sends the chat, ignoring all other actions bound to the enter button for this key press, similarly to how all other keybinds are ignored while typing.
edit 2025-03-15: Updated from version 2.0.28 to 2.0.41 after confirming it is still an issue
Since I'm using a split ergodox keyboard, I happen to have my enter key on my left keyboard instead of my spacebar (spacebar being on the right half only). Therefore, I've got the [Enter] key bound to the "Shoot enemy" action.
When typing in the game, e.g. in the chat or when searching for something in the inventory, I of course end the text by pressing [Enter], to send the message or complete the search. However, because my "Shoot enemy" action is bound to that key, pressing [Enter] always fires my weapon as well. While typing, obviously no other key performs their other bound action, i.e. typing "wasd" won't move my character around in a circle, so I'd assume the same should be true for [Enter]. All other actions for the key should be disabled while typing.
Problem: Pressing [Enter] while typing (i.e. to send a message) also performs the "Shoot enemy"-action if the [Enter] key is bound to that action (causing non-targeted weapons like the shotgun to fire)
Expected: Pressing [Enter] while typing only ends the search or sends the chat, ignoring all other actions bound to the enter button for this key press, similarly to how all other keybinds are ignored while typing.
edit 2025-03-15: Updated from version 2.0.28 to 2.0.41 after confirming it is still an issue