Trace: • Haptic feedback
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
flutterui:haptic_feedback [2023/03/08 09:49] admin |
flutterui:haptic_feedback [2023/03/08 09:51] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTRANS~~ | ~~NOTRANS~~ | ||
| ~~Title: Haptic feedback~~ | ~~Title: Haptic feedback~~ | ||
| - | A mobile device supports haptic feedback. If you want to use this, simply set a style for your button. We only have haptic feedback for buttons right now. | + | A mobile device supports haptic feedback. If you want to use this feature, simply set a style for your button. We only have haptic feedback for buttons right now. |
| <code java> | <code java> | ||
| Line 9: | Line 9: | ||
| Possible styles are: | Possible styles are: | ||
| - | ''f_haptic_light'', ''f_haptic_medium'', ''f_haptic_heavy'', ''f_haptic_click'', ''f_haptic'' | + | ''f_haptic'' - Provides vibration haptic feedback to the user for a short duration.\\ |
| + | ''f_haptic_light'' - Provides a haptic feedback corresponding a collision impact with a light mass.\\ | ||
| + | ''f_haptic_medium'' - Provides a haptic feedback corresponding a collision impact with a medium mass.\\ | ||
| + | ''f_haptic_heavy'' - Provides a haptic feedback corresponding a collision impact with a heavy mass.\\ | ||
| + | ''f_haptic_click'' - Provides a haptic feedback indication selection changing through discrete values.\\ | ||
