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

Play sound depend on the pressure of touch #3

Open
2 tasks
liplum opened this issue Dec 19, 2022 · 0 comments
Open
2 tasks

Play sound depend on the pressure of touch #3

liplum opened this issue Dec 19, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@liplum
Copy link
Member

liplum commented Dec 19, 2022

Basic Support

  • The different pressure of touch will change the pitch(?) or volumn(?).
  • A toggle to turn it on/off.

Worth Mentioning

  • Some platforms don't support pressure detecting, such as web. So hide the toggle in this situation.

More Reading

  1. ForcePressGestureRecognizer.
  2. Pressure property in PointerEvent.

As to the second particle, if the platform or the pressure can't be detected, the pressure will be 1.0 as default.

@liplum liplum self-assigned this Dec 19, 2022
@liplum liplum added the enhancement New feature or request label Dec 19, 2022
@liplum liplum added this to UX Dec 19, 2022
@liplum liplum moved this to Todo in UX Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant