- Home /
How to send a MotionEvent from Android App to Unity
I'm a new unity developer. I need some help.
I want to make my games on TV, so i have to make the TV controller to show as a mouse, a virtual mouse.
but the question is no matter how i do, i can't send a TouchEvent to Unity.
I used Activity.dispatchTouchEvent() method, it's not work;
I used JNI AInputQueue_preDispatchEvent method, it's not work too;
I used Android InputManager.injectInputEvent() method, it will ANR;
I have no idea to deal with it, anyone could help me?
Beg for help, waiting ...
I used many kinds of TV, but no one help. They all Android TV.
Your answer
Follow this Question
Related Questions
How do I get monodevelop to run faster? 1 Answer
Help play animations medium-difficulty 2 Answers
animation.Play("tiro", PlayMode.StopAll); not working 0 Answers
array index is out of range (C#) 2 Answers
Please help with Mouse aim? 0 Answers