Difference between revisions of "Trigger: Home Button Long Press"

 
Line 45: Line 45:
  
 
* [[Action:_Voice_Input|Voice Input Action]]
 
* [[Action:_Voice_Input|Voice Input Action]]
* [[Trigger:_Device_Button|Device Button Trigger]]
 

Latest revision as of 23:08, 5 January 2026

The Home Button Long Press trigger fires when you perform a long press on the device's home button. This trigger requires MacroDroid to be set as the default voice input and assistance application.

Options

This trigger has no configurable options. Once added, it will fire whenever a long press is detected on the home button (typically around 1.5 seconds).

Requirements

  • MacroDroid must be configured as the default assist and voice input app
  • Requires Android 6.0 (API 23) or higher
  • The default assist app setting can be found in: Settings > Apps > Default Apps > Digital assistant app (location may vary by device)

Examples

Example 1: Quick Screenshot

Triggers

Home Button Long Press
Actions

Take Screenshot

Takes a screenshot when the home button is held for approximately 1.5 seconds.

Example 2: Launch Voice Command

Triggers

Home Button Long Press
Actions

Speak Text - What would you like me to do?
Voice Input

Launches MacroDroid's voice input feature when long pressing the home button.

Notes

  • This trigger requires MacroDroid to replace your default assistant app (like Google Assistant).
  • On some devices, this trigger may also fire when long pressing the power button.
  • If the trigger shows a warning that it's not configured properly, tap the warning to open the settings to set MacroDroid as the default assistant.
  • Setting MacroDroid as the default assistant will prevent the original assistant (e.g., Google Assistant) from launching on long press.
  • The trigger will show an edit mode warning if MacroDroid is not set as the default assistant.

See Also