Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input Processors #491

Open
1 of 4 tasks
Shute052 opened this issue Feb 25, 2024 · 4 comments
Open
1 of 4 tasks

Input Processors #491

Shute052 opened this issue Feb 25, 2024 · 4 comments
Assignees
Labels
breaking-change A breaking change that requires a new major version enhancement New feature or request usability Reduce user friction

Comments

@Shute052
Copy link
Collaborator

Shute052 commented Feb 25, 2024

Add input processors, similar to those in Unity, and replace the existing ones

And allows users to define the processors they wanted.

Tasks

Planned Processors

  • Four/Eight-way value bounds for dual-axis inputs.
  • Rounded square deadzone for dual-axis inputs.
  • Bow tie deadzone for dual-axis inputs.
@Shute052 Shute052 added the enhancement New feature or request label Feb 25, 2024
@Shute052 Shute052 self-assigned this Feb 25, 2024
@Shute052 Shute052 added usability Reduce user friction breaking-change A breaking change that requires a new major version labels Feb 25, 2024
@alice-i-cecile
Copy link
Contributor

Oh interesting: that's a sensible framing. We should try to split this out into distinct work from #490 though: overly large refactor steps tend to be much harder to work with.

@Shute052 Shute052 changed the title New Input Processors Input Processors Feb 25, 2024
@Shute052
Copy link
Collaborator Author

Shute052 commented Feb 25, 2024

yeah, I'll try to split them out. #490 has made some progress, but I haven't pushed the changes yet.

@Shute052
Copy link
Collaborator Author

Updated the description

@Shute052
Copy link
Collaborator Author

Shute052 commented Feb 27, 2024

Updated the description by combining Filters into Clamps and removing user-defined processors reliant on Box<dyn Fn>, as they are not serializable (use of serde_traitobjects and serde_closures requires Rust nightly)

@Shute052 Shute052 changed the title Input Processors Axis-like Input Processors Feb 28, 2024
@Shute052 Shute052 changed the title Axis-like Input Processors Input Processors Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change A breaking change that requires a new major version enhancement New feature or request usability Reduce user friction
Projects
None yet
Development

No branches or pull requests

2 participants