Key press simulation on android,
Hello there, I would like to know if there is any way possible to simulate a keypress without pressing the actual key. For example if an object collides with another object , simulate key A from keyboard. I have tried using the plug-in from http://inputsimulator.codeplex.com, and it works fine on a windows environment but cant be used on android devices . Is there another solution ?
Answer by Tom01098 · Dec 11, 2015 at 08:58 AM
Couldn't you just have a function called when you press 'a', and then call that function when you want to simulate the press?
Your answer
![](https://koobas.hobune.stream/wayback/20220612041343im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using mobile device (sensors) as remote to control PC simulation 0 Answers
my action button wont play in my cell phone android 0 Answers
Can android device interact with the pc unity game? 2 Answers
mobile touch button isnt working HELP! 0 Answers
TMPro Input Field "Restore On ESC Key" on mobile does not work 0 Answers