Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, Can U Help Me With The Code To Access A Mouse In Linux. Thanks In Advance...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    5

    accessing mouse with LINUX.

    Hi,

    Can U Help Me With The Code To Access A Mouse In Linux.


    Thanks In Advance

  2. #2
    Just Joined!
    Join Date
    Nov 2006
    Posts
    51

    A suggestion

    Greetings. It would be helpful if you were to specify which Linux you are using and which mouse, as answers to your question are likely to be particular to your distribution and hardware. For example, I am using SUSE 10.3 with an ordinary Logitech optical pilot and know how to get these two to find one another. Good luck and much patience from another relative Linux beginner.

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    5
    hi ,
    im using red hat linux version 2.6.9.55-EL.smp...........i want to access a hp usb mouse

  4. #4
    Just Joined!
    Join Date
    Jan 2008
    Posts
    5
    To be more specific, I am trying to write an application, which can print the mouse co-ordinates as they change. When I cat the /dev/input/mice I could see that some ascii characters get printed as the mouse moves. I have a program, which accesses this device file and does a read on that whenever it changes. I have not been able to interpret the data I read from the file.

    It could be of great help if somebody could help me with how to interpret the data in this file or a sample program which can print the mouse co-ordinates. My actual platform is an embedded device. So programs which use mouse related libraries like gpm may not be of much use.

    Thanks in advance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...