LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-17-2008, 09:50 AM   #1
steve_linux
LQ Newbie
 
Registered: Jul 2008
Location: india
Posts: 2

Rep: Reputation: 0
Mouse Event


how i can detect using C program my mouse is moving on desktop in Linux.?
 
Old 07-17-2008, 11:33 AM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Quote:
Originally Posted by steve_linux View Post
how i can detect using C program my mouse is moving on desktop in Linux.?
What kind of program is it? For interactive programs, you could write a program using SDL. Or you could check how the command xev works.
 
  


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
Need justification for mouse scroll release event dipk_23 Programming 0 05-24-2007 07:45 AM
key binding to mouse event agb32 Linux - General 0 09-04-2003 09:19 AM
CATCH mouse event!!! hongzhang Linux - Software 0 08-07-2003 02:19 AM
How can i get the mouse event on gtk_drawing_area? HopeCao Programming 1 03-19-2003 03:53 AM
how to fire mouse event using 'C' code karthikeyan Linux - Software 2 03-08-2003 11:35 AM


All times are GMT -5. The time now is 10:32 PM.

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