By the time the contribution is ready for final review, the main post of the Issue should be able to serve as the PR description, supplemented by the testing results/peer reviews.
Purpose
Rework InputHandler.ts to use the activeKeys set more, make code more consistent and simplify the process of adding new keybinds
Objectives
- Use activeKeys set more where it makes sense too
- Make code more consistent
- Simplify adding new keybinds
Description
Use activeKeys set in places where it is checking if a key is being pressed in a different way, and it makes more sense to use the activeKeys set. Make the overall code of the InputHandler.ts file more consistent and to make it easier to add new keybinds in the future.
tktk1234567
By the time the contribution is ready for final review, the main post of the Issue should be able to serve as the PR description, supplemented by the testing results/peer reviews.
Purpose
Rework InputHandler.ts to use the activeKeys set more, make code more consistent and simplify the process of adding new keybinds
Objectives
Description
Use activeKeys set in places where it is checking if a key is being pressed in a different way, and it makes more sense to use the activeKeys set. Make the overall code of the InputHandler.ts file more consistent and to make it easier to add new keybinds in the future.
tktk1234567