C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-05-2006, 12:42 PM   #1
Registered User
 
Join Date: Dec 2005
Posts: 52
/dev/input/mouse0

Hi,
how can i understand / control the /dev/input/mouse0 (or whatever dev it is for your computer -- mine has /dev/input/mouse0) interface?

also, my terminal doesn't support the extended ascii charset -- how do i change that?

and does anybody know where to find good in-depth tutorials on low-level file IO in C?

thanks

(running ubuntu 32 + 64 bit (2 separate partitions) + windows xp x64 + a partition with a failed debian install.)
w00tw00tkab00t is offline   Reply With Quote
Old 02-05-2006, 05:21 PM   #2
Registered User
 
Join Date: Dec 2005
Posts: 52
...........hello?
w00tw00tkab00t is offline   Reply With Quote
Old 02-05-2006, 06:14 PM   #3
Sr. Software Engineer
 
filker0's Avatar
 
Join Date: Sep 2005
Location: West Virginia
Posts: 235
Quote:
Originally Posted by w00tw00tkab00t
...........hello?
Don't worry, we're not entirely ignoring you.

I don't know if /dev/input/mouse is giving raw mouse data or some sort of cooked data, and I'd have to power up some equipment to check (the Linux box I'm running right now has no mouse on it, as it's headless.)

Assuming that /dev/input/mouse is raw data, it depends on the protocol of the mouse you have attached. Try
Code:
prompt> man 4 mouse 
Perhaps the man page has some useful info.
__________________
Insert obnoxious but pithy remark here
filker0 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 09:59 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22