Open garywill opened 3 years ago
Hello! Does Easer allow you to create launcher shortcuts for actions? If so then maybe the App Shortcut action will work in Key Mapper.
Easer supports home screen widgets. Every widget has an label ( I believe that's this widget's id) Then you can set tapping a widget with an id as trigger event.
But that widgets seem different than launcher shortcut. They won't appear in Key Mapper's "App Shortcut" section.
Oh okay. Can you trigger Easer actions with Intents? There is an action in Key Mapper to send an intent
Easer supports receiving broadcast as trigger event. I'm not sure if that is "intent" ( I don't know a lot about Android's intent).
This is Easer's screenshot
If it is "intent", could you give me some idea how to do ?
Yeah, a broadcast is a way for an app to send an intent to another app. In that case you'll want to create an Intent action in Key Mapper and choose the "broadcast receiver" target. Set the Intent action in Easer (in your screenshot) to be the same as in Key Mapper.
I didn't understand the thing with Easer but being able to start shell commands with the gestures would be really useful
Here's a temporary workaround
.bashrc
with
alias a="your command"
a
key of the keyboard, and then enterIf you want to run it as root it will be
alias a="su -c 'your command'"
Yeah, that works. I'll still leave the shell command feature request open
Yes it would be really cool to be able to execute commands, I think that's the most important and basic thing to have in this kind of app. If you can execute commands you can literally do whatever you do even though it's not made in-app, like uninstalling an app, changing a parameter...
Developer TODO (don't remove)
Hi developer(s), thank you for great KeyMapper!
It would be nice to run a shell command when I trigger by a key/button.
Also, I'm looking for a way to combine KeyMapper with https://github.com/renyuneyun/Easer . Easer can set a user-custom shell command as action, but it can't set a key/button as trigger.
https://github.com/renyuneyun/Easer/issues/376