Keypressed Trigger??

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
Autumn-Leigh
Posts: 67
Joined: 15 Mar 2018 19:23
Location: UK
Contact:

Keypressed Trigger??

Post by Autumn-Leigh » 28 May 2018 17:12

Keypressed trigger??
YouTube Channel - https://youtu.be/fui3RO9EmNU
If anyone wants a shoutout, or has a flow they want me to do, be it theirs or a new one, let me know :)

User avatar
digitalstone
Posts: 338
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: Keypressed Trigger??

Post by digitalstone » 28 May 2018 18:04

You mean a hardware (like volume buttons on the side of phone) or software button (like letter "d" on your software keyboard) press?

I remember i already saw a feature request like this some couple of months ago, about the volume buttons, and the response of Martin being that that would not be feasible (as i remember at that particular instance at least).
Software buttons... i dunno.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

User avatar
Desmanto
Posts: 2395
Joined: 21 Jul 2017 17:50

Re: Keypressed Trigger??

Post by Desmanto » 29 May 2018 04:18

Must use root and use Trigger Command output. Example is here : viewtopic.php?f=4&t=3245
Other method also need root + xposed, using xposed addition.

BTW, Autoinput has the ability to detect the key press down and up as the trigger, without root. I wonder if Automagic can implement something like that too.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200117 Official, Android Pie 9.0, Rooted.

User avatar
Martin
Posts: 4434
Joined: 09 Nov 2012 14:23

Re: Keypressed Trigger??

Post by Martin » 30 May 2018 08:12

I have an item on my todo list to add the feature to intercept hardware key presses which will require to use the accessibility service. The feature was on hold since I never heard back from Google about the accessibility problem but I guess no news is good news so I'll try to start working on the feature when time permits (probably for 1.36 but no guarantees).

Regards,
Martin

User avatar
Desmanto
Posts: 2395
Joined: 21 Jul 2017 17:50

Re: Keypressed Trigger??

Post by Desmanto » 30 May 2018 09:48

Yeah, google hold us too long without any further confirmation. The latest issue tracker status was "won't fixed". It has been 2,5 months and no further scary email/news from google yet about accessibility. It seems they purposely put this on hold, so new dev won't even try to use accessibility if they really don't need it.

BTW, rather than the button trigger, I would like to see the ability to select the element id first. Since CUI only lack that part to be complete : viewtopic.php?f=6&t=7234
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200117 Official, Android Pie 9.0, Rooted.

User avatar
Autumn-Leigh
Posts: 67
Joined: 15 Mar 2018 19:23
Location: UK
Contact:

Re: Keypressed Trigger??

Post by Autumn-Leigh » 30 May 2018 13:06

sounds wierd, but I had asseccability problem, and iv used titanium back up pro and moved it as a system app, and its not been a problem at all since
YouTube Channel - https://youtu.be/fui3RO9EmNU
If anyone wants a shoutout, or has a flow they want me to do, be it theirs or a new one, let me know :)

Post Reply