All integrations
Built inYour computer

ADB / Android Debug Bridge

Included with Macro Deck

Control an Android phone or tablet over USB or Wi-Fi: wake it, start apps, tap, type and take screenshots.

  • Wake, lock and reboot a connected Android device
  • Start or force-stop apps and open links on the device
  • Send keys, taps, swipes and text
  • Save screenshots of the device screen to a folder
  • Device events and variables for battery, screen and foreground app

The ADB integration controls Android phones and tablets through the Android Debug Bridge (ADB), the same tool Android developers use. Macro Deck finds the adb program, runs the ADB server and keeps track of the devices that are attached over USB or connected over Wi-Fi. It can also download the official Android platform-tools for you.

Every action works on the device you pick in the action, or on the default device when you leave Device empty. The default device is the one you chose with Set as default in Settings > ADB, or the only attached device when you chose none.

What you can do

  • Screen and power: wake the device, turn the screen off (Android locks the device this way) or reboot it into Android, recovery or the bootloader.
  • Apps and links: start an app or force-stop it by its package name, such as com.spotify.music, and open a link with the app the device picks for it.
  • Input: send a key such as Home, Back, Volume Up or Media Play Pause, tap a point on the screen, swipe from one point to another, or type text into the focused field.
  • Screenshots: capture the screen as a PNG file in a folder on your computer, and optionally write the file's path into a variable.

Some example setups:

  • A button that wakes a tablet on your desk and starts your music app.
  • A button that sends Media Play Pause to your phone.
  • An automation on Device Connected that opens a dashboard page on a tablet as soon as you plug it in.

Live status

The integration reports when a device is connected, disconnected, authorized, becomes unauthorized, goes offline or comes back online, so flows and buttons can react to it. Variables hold the number of connected and authorized devices and, for the default device, its model, manufacturer, battery level, whether the screen is on, whether the lock screen shows and which app is in front. Each authorized device also gets variables of its own, named after its model. While the integration is on, the battery of each Android device also appears in the Battery widget.

The basic actions (keys, taps, swipes, text, apps, links, reboots and screenshots) keep working while Macro Deck is locked, so a button bound to one still works on a locked computer.

System

Included with Macro Deck

Control your computer from your deck: apps, volume, commands, notifications, sleep and shutdown.

Keyboard

Included with Macro Deck

Press shortcuts, type text and run key sequences on your computer from a button.

Mouse

Included with Macro Deck

Click, move the pointer, drag and scroll on your computer from a button.

Steam

Included with Macro Deck

Start and close Steam games, and show what you play, your friends and your library on your deck.