Difference between revisions of "Trigger: Power Button Toggle"

(Created page with "This trigger will fire when the power button is toggled between 3-5 times. Since it is not really possible to detect power button presses this trigger works by counting screen...")
 
m
Line 1: Line 1:
 +
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
 
This trigger will fire when the power button is toggled between 3-5 times. Since it is not really possible to detect power button presses this trigger works by counting screen on/off events. On some devices you may need to leave a small delay between each press to ensure the trigger registers.
 
This trigger will fire when the power button is toggled between 3-5 times. Since it is not really possible to detect power button presses this trigger works by counting screen on/off events. On some devices you may need to leave a small delay between each press to ensure the trigger registers.
 +
</pre>
 +
 +
'''Example Usage'''<br/>
 +
 +
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 +
Triggers
 +
 +
 +
</pre><br>
 +
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 +
Actions
 +
 +
 +
</pre><br>
 +
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
 +
Constrains
 +
 +
 +
</pre><br>
 +
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 +
Local variables
 +
 +
 +
</pre><br>

Revision as of 16:44, 29 April 2023

This trigger will fire when the power button is toggled between 3-5 times. Since it is not really possible to detect power button presses this trigger works by counting screen on/off events. On some devices you may need to leave a small delay between each press to ensure the trigger registers.

Example Usage

Triggers



Actions



Constrains



Local variables