Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 07-17-2008, 10:50 AM   #1
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, 12:33 PM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

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


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 08:45 AM
key binding to mouse event agb32 Linux - General 0 09-04-2003 10:19 AM
CATCH mouse event!!! hongzhang Linux - Software 0 08-07-2003 03:19 AM
How can i get the mouse event on gtk_drawing_area? HopeCao Programming 1 03-19-2003 04:53 AM
how to fire mouse event using 'C' code karthikeyan Linux - Software 2 03-08-2003 12:35 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:43 PM.

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