It still not exist , but it will and it would be very nice to be able to launch automagic flows via pressy.
http://www.kickstarter.com/projects/556 ... oid-button
Pressy support
Moderator: Martin
Re: Pressy support
Hey, today I've received my pressy button!
Is there a chance to have some implementation for automagic flows?
Thank you in advance!
Is there a chance to have some implementation for automagic flows?
Thank you in advance!
Re: Pressy support
Does Pressy support to start shortcuts? If yes, you could create a flow with trigger Shortcut and execute the flow from pressy.
Perhaps Pressy could also implement a regular event- or condition-plugin which would allow Pressy to execute actions in many automation apps like Locale, Llama etc.
I have sent a mail to Pressy suppport some moments ago, let's see what they say.
Perhaps Pressy could also implement a regular event- or condition-plugin which would allow Pressy to execute actions in many automation apps like Locale, Llama etc.
I have sent a mail to Pressy suppport some moments ago, let's see what they say.
Re: Pressy support
Meanwhile it is just a button (pretty much the same as Xiaomi button, Klick, etc etc) so you can use "Media button pressed" trigger that is called every time when a button is pressed.mechrekt wrote:Hey, today I've received my pressy button!
Is there a chance to have some implementation for automagic flows?
Thank you in advance!
On this forum someobe published a flow that can track and react on 1, 2 and 3 "clicks" so you can launch three different flows from there.
Unfortunately long press is not supported.
Martin, all those applications (form Pressy, Xiaomi, Klick etc) DO can react differently based on short or LONG click. It means they do have a way to detect long press events whereas your awesome app can't and I think you said it was not technically possible. If you could have a second look at that I am hoping you may find a way how to detect LONG press events so we won't need any of those apps at all!
Re: Pressy support
For long press, you can use an "Expression" condition and check for key_duration
ex:
trigger: "Media button pressed"
condition: "Expression"
key_duration > 500
--> true
ex:
trigger: "Media button pressed"
condition: "Expression"
key_duration > 500
--> true
Re: Pressy support
Some ROMs capture a long press and start Google Now or similar apps instead of triggering a media button event. You can use a trigger Speech Web Search Requested to capture this on some ROMs (but I'm almost sure that some ROMs won't work).