scp-fs2open / scp-fs2open/fs2open.github.com
LUA_ADDITIVE_BUTTON_CONTROL causes keypresses to repeat infinitely
- Dominant language
- C++
- Stars
- 487
- Forks
- 184
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 44
Description
When this control mode is set via scripting, almost any keypress will start repeating forever. Only exception I found was the Afterburner. Even quitting a mission and starting another, the same input will continue from the previous mission.
To reproduce, add the script below to your data/tables folder. Then start the game, enter any mission and press a key (some examples: ETS, target next ship, fire countermeasure). The action should start repeating indefinitely.
Tested on 22.0.0-RC5
```
#Conditional Hooks
$Application: FS2_Open
$On Game Init:
[
ba.setButtonControlMode(LUA_ADDITIVE_BUTTON_CONTROL)
]
#End
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.