Tasker Integration

A simple guide to connecting Notch-Touch with Tasker.

From Notch-Touch to Tasker

Trigger a complex Tasker sequence simply by tapping your camera cutout.

Scenario: The Smart Home Macro

You want to tap your notch when leaving the house to trigger a "Lockdown" routine that turns off all your smart lights, locks the front door, and sets your phone to vibrate.

🛠️ How to Configure
1. In Tasker: Preferences > Misc > Enable 'Allow External Access' 2. In Tasker: Create a named Task (e.g., 'HouseLockdown') 3. In Notch-Touch: Select '❖ RUN TASKER' on a gesture and enter the exact Task Name.

Tasker to Notch-Touch (Kill-Switch)

Dynamically disable or enable specific notch gestures in the background.

Scenario: Reading & Scrolling Mode

You are reading a book on the Kindle app or scrolling through Instagram, and you don't want an accidental tap on the notch to interrupt you. Tasker can automatically send a 'disable' intent when those specific apps launch, and re-enable them when you leave the app.

🛠️ How to Configure
In Tasker, create a 'Send Intent' Action:
Action:com.chaos.notchtouch.SET_GESTURE_STATE
Extra 1:gesture_key:single
Extra 2:is_disabled:true
Target:Broadcast Receiver

Gesture Keys: single, double, triple, left, right, left_hold, right_hold, hold is_disabled: Use 'true' to block the touch, 'false' to re-enable.

Tasker to Notch-Touch (Remapping)

Instantly overwrite a gesture's assigned action without ever opening the Notch-Touch app.

Scenario: Time-Based Context

You want your "Double Tap" gesture to open the Camera app during the day, but you want it to toggle the Flashlight after 8:00 PM. Tasker can send an intent at 8:00 PM to seamlessly reprogram the gesture's memory.

🛠️ How to Configure
In Tasker, create a 'Send Intent' Action:
Action:com.chaos.notchtouch.SET_GESTURE_ACTION
Extra 1:gesture_key:double
Extra 2:action_name:ACTION_TOGGLE_FLASHLIGHT
Target:Broadcast Receiver
📋 Action Reference Dictionary

Use these exact strings for the action_name Extra.

Action String (action_name) What it does
ACTION_NONEDoes nothing (Clears the gesture)
ACTION_OPEN_APPOpens a specific App *Must be pre-configured in Notch-Touch
ACTION_RUN_TASKERRuns a Tasker Sequence *Must be pre-configured in Notch-Touch
ACTION_OPEN_CAMERAOpens the Camera
ACTION_SCREENSHOTTakes a screenshot
ACTION_OPEN_NOTCH_MENUOpens the Notch Menu
ACTION_OPEN_WIDGETSOpens the Widget Hub
ACTION_BACKSimulates the Back button
ACTION_HOMESimulates the Home button
ACTION_RECENTSOpens Recent Apps
ACTION_NEXT_TRACKSkips to the next song
ACTION_PREVIOUS_TRACKReturns to the previous song
ACTION_PLAY_PAUSEToggles media Play/Pause
ACTION_VOLUME_UPIncreases volume
ACTION_VOLUME_DOWNDecreases volume
ACTION_BRIGHTNESS_UPIncreases screen brightness
ACTION_BRIGHTNESS_DOWNDecreases screen brightness
ACTION_TOGGLE_FLASHLIGHTToggles the flashlight
ACTION_LOCK_SCREENLocks the phone screen
ACTION_LAUNCH_ASSISTANTLaunches the digital assistant
ACTION_TOGGLE_RINGERToggles Silent/Ringer mode
← Back to Chæos Studios