Component: Vibrate ( Data): Difference between revisions
Appearance
No edit summary |
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
||
| Line 42: | Line 42: | ||
===Cancel=== | ===Cancel=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 56: | Line 56: | ||
===Vibrate=== | ===Vibrate=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 70: | Line 70: | ||
===VibrateCustom=== | ===VibrateCustom=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 90: | Line 90: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
Revision as of 14:15, 13 July 2026
| Author | MatrixTSL |
| Version | 1.0 |
| Category | Data |
Vibrate component
Component that causes the mobile device to vibrate.
Version information
Library Version, Component Version, Date, Author, Info 1, 1.0, 21-04-26, ST, Created
Detailed description
Many mobile devices such as mobile phones have internal hardware which can cause the device to vibrate.
This component provides access to this and allows the device to be vibrated using a pattern of vibrations and pauses.
Examples
Vibration example
This simple example shows how to vibrate a mobile device using a set of buttons.
The web app created by this example can be viewed here: VibrationTest Example
Macro reference
Cancel
| Cancel | |
| Cancels any ongoing vibration | |
| Return | |
Vibrate
| Vibrate | |
| Send the preset vibration pattern to the mobile device | |
| Return | |
VibrateCustom
| VibrateCustom | |
| Send a custom vibration pattern to the mobile device | |
| Pattern | |
| An array of values describing the vibration pattern period | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_Vibrate.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Vibrate.fcsx