Difference between revisions of "Constraint: Device Orientation"
| Line 1: | Line 1: | ||
| − | < | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current device orientation.</pre> |
| − | + | ''' Options ''' | |
| + | |||
| + | * '''Portrait/Landscape''': Select the required orientation | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Apply a higher brightness only in landscape mode'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Screen On/Off - Screen On</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Brightness (70%)</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Device Orientation - Landscape</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Trigger: Screen Orientation|Screen Orientation Trigger]] | ||
Latest revision as of 11:27, 9 January 2026
This constraint allows or prevents a macro/feature from running based on the current device orientation.
Options
- Portrait/Landscape: Select the required orientation
Example
Example 1: Apply a higher brightness only in landscape mode
Triggers Screen On/Off - Screen On
Actions Brightness (70%)
Constraints Device Orientation - Landscape
See Also