Page 1 of 1

Volume down button problem for HiroMacro app

Posted: 13 Oct 2015 10:47
by commax
Normally after HiroMacro start ,
I press the volume down button to open the record/play window.

I want Automagic to play HiroMacro.
I can have Automagic start HiroMacro.
But when Automagic simulates the volume down button by
Action Execute Root Command : input keyevent KEYCODE_VOLUME_DOWN or input keyevent 25
or
Action Control UI : sendKey(25);
the record/play window of HiroMacro does not open , only volume down.

How can I open the record/play window of HiroMacro by Automagic ?

Re: Volume down button problem for HiroMacro app

Posted: 14 Oct 2015 08:25
by commax
I can solve this problem by

Action Execute Root Command : sendevent /dev/input/event0 1 114 1
Action Execute Root Command : sendevent /dev/input/event0 0 0 0
Action Execute Root Command : sendevent /dev/input/event0 1 114 0
Action Execute Root Command : sendevent /dev/input/event0 0 0 0