Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 10-18-2003, 02:54 PM   #1
LQ Newbie
Registered: Oct 2003
Location: arad
Distribution: slackware
Posts: 2

Rep: Reputation: 0
reading & interpreting data from /dev/gpmdata

I found out that when a client connected to the Gpm server turns it's display into a graphic mode, the Gpm will stop sending events to it, and instead, it will put the data into /dev/gpmdata. But i have no idea of how to interpret that data. Does anybody know how to transform the data from /dev/gpmdata into mouse statistics like the x and y coordinates and buttons status?
Old 11-02-2003, 07:08 AM   #2
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
The format in /dev/gpmdata depends on the repeating protocol defined in the gpm configuration.


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
Can I go from /dev/sda to /dev/rd w/o data loss? RPaulW Linux - Hardware 1 10-10-2005 10:39 AM
Sending and interpreting data using http-post rj1 Programming 3 05-28-2005 02:21 AM
Interpreting "sar -n DEV" output rfrancis Red Hat 0 01-07-2005 11:42 AM
data transfer bet RH8.0 pc to & fro device thru /dev/ttyS0 shivanitha Linux - Newbie 0 10-30-2003 07:25 AM
Reading COM Port Data croakofonix Programming 1 06-11-2003 04:17 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:01 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