LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2014, 06:18 AM   #1
ashg
LQ Newbie
 
Registered: May 2014
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 05-05-2014, 08:21 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NS2 network simulation problem:Change queue parameters dynamically during simulation raeisy Linux - Networking 1 11-21-2010 12:30 PM
Acoustic simulation program or (sound wave simulation program) tarotint Linux - Software 2 02-24-2010 05:04 AM
Keyboard events interrupting mouse events. miner49er Linux - Hardware 3 11-04-2008 05:16 AM
Hang on triggering udev events- is there a buildup of events? sonichedgehog Slackware 20 07-11-2008 03:49 AM
Events or event simulation Guilherme Programming 2 09-28-2007 03:10 PM


All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration