|
-
January 13th, 2003, 05:33 AM
#1
How to catch all mouse clicks (Red Hat Linux)
Hi
I need to catch all mouse clicks from other applications in Red Hat Linux (and count them). I'm new for Linux, so I'll be glad for any info, hints, suggestions, examples and so on. Thank you in advance.
-
January 15th, 2003, 12:44 PM
#2
nobody know how to catch them?
-
January 15th, 2003, 02:08 PM
#3
Originally posted by Marvin
nobody know how to catch them?
Have you done a google search for your particular problem? You need to ask this question on a site dedicated to Linux/UNIX, most likely a UNIX related newsgroup on UseNet. They can answer your question quickly and thoroughly. You can access the newsgroups through google. If not, you can just do a google search for your particular problem, and you will probably find samples to help you.
From the little reading that I've done, the mouse events are captured just like the keyboard in Linux. You open the port that the mouse is connected to (one of those /dev/whatever's), and read the bytes coming in. Sorry, that's all I'm even remotely familiar with. You can get the source code to the Emacs editor, and see how they handle the mouse events.
Regards,
Paul McKenzie
-
January 16th, 2003, 01:30 AM
#4
ok, thanks.
I'v done some google search, and find some info. But I need some advices, which can prevent me from inventing thing people done before
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|