Simulate Keystroke in Emulator

Shaykid

New member
Hello
I am trying to simulate a keystroke in an Emulator running macrodroid
When I use commandline I simply write "input keyevent KEYCODE_ALT_LEFT"
Do you happen to know how I can simulate this keyevent in the android main screen ?
(maybe use intent or any other method ?)
Thanx in Advance.
:unsure:
 

Jacob L

Moderator (Lawsonator)
Hello
I am trying to simulate a keystroke in an Emulator running macrodroid
When I use commandline I simply write "input keyevent KEYCODE_ALT_LEFT"
Do you happen to know how I can simulate this keyevent in the android main screen ?
(maybe use intent or any other method ?)
Thanx in Advance.
:unsure:
Goes in the shell script action of MacroDroid
 
Top