LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   simulation of touch events (https://www.linuxquestions.org/questions/linux-newbie-8/simulation-of-touch-events-4175503686/)

ashg 05-02-2014 05:18 AM

simulation of touch events
 
Hi I am trying to simulate the touch event.
using evtest, i am able to generate the touch event and now would like to redirect to /dev/uinput.
Can someone help me in this regards.

rtmistler 05-05-2014 07:21 AM

A suggestion is to try taking the information you have created via simulation and sending that to /dev/uinput; which should be a file. For instance if I were to know the codes for a mouse and wanted to send in simulation for the mouse actions, I would send that simulation data into /dev/input/mouse0, or the appropriate mouse<#>'d file. Another validation of this would be to cat /dev/uinput and cause actual touch events, and if you're seeing the same events which you can decode the same as your simulations, then try sending that same data to /dev/uinput.


All times are GMT -5. The time now is 06:35 PM.