Gestures mode is a special AutoInput mode you can enable so that you can do system wide gestures to perform actions in Tasker.
While gestures mode is enabled you can't interact with the UI like you normally would. However, you can still click buttons and swipe things:
In this example swipe up plays/pauses music in Google Play Music, swipe right skips to the next track, swipe down opens google maps navigation to a destination of your choice, swipe left disables gestures mode and swipe down then right opens the clock app.
- To click: long-touch a button then double tap it (or simply click with 2 fingers)
- To swipe: use two fingers instead of one
STEP 1 - ENABLE GESTURES MODE
Press the icon in the top right of this screen to find out more about how gestures mode works.
- Create a new Task and name it "Enable Gestures"
- In the task add a new "AutoInput Modes" action
- Under "Gestures" choose "Enable"
You can assign this Task to any situation you see fit. For example, you can use it when connecting to your car's bluetooth so that gestures mode is automatically enabled while in your car. In this example we'll just run the task manually
- Accept these settings and go back to Tasker
STEP 2 - CREATE LEFT GESTURE PROFILE
- Create a new profile with the Event->plugin->AutoInput Gesture condition
- Under Gesture select "Left"
- Accept and go back to Tasker
- Create a new Task associated with this event
STEP 3 - DISABLE GESTURES
This will allow you to easily disable gesture mode to give you access to normal UI navigation. This is handy so you don't get "stuck" in gestures mode without a good way to disable it.
- Add an "AutoInput Modes" Tasker action
- Under "Gestures" select "Disable"
- Go back to tasker to accept these settings
STEP 4 - UP GESTURE
- Repeat step 2, but with the "Up" gesture
STEP 5 - PRESS PLAY DOWN
If you don't have the "Media" item under "Apps", download all the Media intents [joaoapps.com/autoshare/intents/|here] by navigating to each one on your Android device.
- Add an "AutoShare" action
- In the action, under "App" select "Media"
- Under "Action" select "Press Play/Pause Key Down"
- Touch the "Find Compatible Apps" option and select Google Play Music
STEP 6 - PRESS PLAY UP
These two steps will press the play/pause key in Google Play Music, making it play or pause depending on its current state.
- Repeat the previous step but with the "Press Play/Pause Key Up" action instead
- Accept these settings and go Back to Tasker
STEP 7 - RIGHT GESTURE
- Repeat step 2, but with the "Right" gesture
STEP 8 - NEXT KEY DOWN
- Repeat step 5 but with the "Press Next Key Down" action
STEP 9 - NEXT KEY UP
- Repeat step 6 but with the "Press Next Key Up" Action
STEP 10 - DOWN GESTURE
- Repeat step 2 but with the "Down" Gesture
STEP 11 - OPEN MAP IN NAVIGATION MODE
- Add an "AutoLocation Map" action
- In the "Custom Search" field write any destination you'd like. In this example I used "New York"
- In the "Mode" option, select "Navigation"
- Accept these settings and go back to Tasker
STEP 12 - DOWN AND RIGHT GESTURE
The down and right gesture is performed kind of like writing a capital L.
- Repeat step 2 but with the "Down and Right" Gesture
STEP 13 - LAUNCH CLOCK APP
- Add a "Launch App" action and select the Clock app
STEP 14 - ALL GESTURES
To make sure you're doing the correct gestures, you can add a control profile that will flash on the screen any gesture you make. We'll do that now
Not selecting any gestures will make the profile trigger with all gestures. This is also a good way to practice drawing gestures.
- Repeat step 2 but don't select any gesture.
STEP 15 - DO FLASH WITH GESTURE INFO
This will make whatever gesture you perform flash on the screen
- Add a "Flash" action
- In the Text field write "Gesture : %ainame"
Exit Tasker to save and your gestures are ready to test. Go into Tasker again, enter the "Enable Gestures" Task and run it manually to test them out. Then assign this task to any condition you want to enable gestures mode automatically whenever you please.
For more information, check out the AutoInput category page.
Gestures Mode
Perform gestures on your screen from any app