LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-14-2003, 10:52 AM   #1
karthikeyan
LQ Newbie
 
Registered: Feb 2003
Posts: 7

Rep: Reputation: 0
how to fire mouse events programatically in 'C' code


hello all,

I am doing a project in which the mouse click event need to triggered or fired programtically on the desktop of linux .I am using 'C' language.for eg, if the mouse is at a position 100,100 .I want my program running in the background to move the pointer to some position ,say 200,200 , and fire the left button click event.. I know how to capture the mouse events using the options available in the GUI. Is there any built in functions available in 'C' or some shell commands to be used using
system(" ");

bye ....

Have a nice day
 
Old 11-13-2010, 05:50 PM   #2
hanzf
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
look at the source code in this site:http://www.isv.uu.se/~ziemann/xevent/, is that what you were looking for?
 
Old 11-14-2010, 02:03 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by hanzf View Post
look at the source code in this site:http://www.isv.uu.se/~ziemann/xevent/, is that what you were looking for?
Really, do you expect the OP to care 7 years on from when they posted their thread?
 
  


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
Keyboard and mouse events Soltis Linux - General 3 03-23-2005 09:25 AM
recording display mouse events miguipda Linux - Software 1 01-26-2005 02:41 PM
How can I setting up the events alarm beep on a Sun fire v240 with Solaris 9 ? Puerc0 Solaris / OpenSolaris 0 04-23-2004 05:51 PM
how to fire mouse event using 'C' code karthikeyan Linux - Software 2 03-08-2003 11:35 AM
how to capture mouse and keyboard events programatically karthikeyan Programming 3 02-21-2003 07:42 AM


All times are GMT -5. The time now is 03:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration