Component: Vibrate ( Data): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 45: | Line 45: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Cancel''' | ||
|- | |- | ||
| colspan="2" | Cancels any ongoing vibration | | colspan="2" | Cancels any ongoing vibration | ||
| Line 59: | Line 59: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Vibrate''' | ||
|- | |- | ||
| colspan="2" | Send the preset vibration pattern to the mobile device | | colspan="2" | Send the preset vibration pattern to the mobile device | ||
| Line 73: | Line 73: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''VibrateCustom''' | ||
|- | |- | ||
| colspan="2" | Send a custom vibration pattern to the mobile device | | colspan="2" | Send a custom vibration pattern to the mobile device | ||
| Line 92: | Line 92: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:23, 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