Skip to content

InputHandler.ts rework  #4193

@TKTK123456

Description

@TKTK123456

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

Metadata

Metadata

Assignees

Labels

approvedApproved for a PR, if you assigned to the issue.

Type

No type
No fields configured for issues without a type.

Projects

Status
Triage

Relationships

None yet

Development

No branches or pull requests

Issue actions