Skip to content

Play sound depend on the pressure of touch #3

@liplum

Description

@liplum

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions