/dev/input/mouse0

This is a discussion on /dev/input/mouse0 within the Linux Programming forums, part of the Platform Specific Boards category; Hi, how can i understand / control the /dev/input/mouse0 (or whatever dev it is for your computer -- mine has ...

  1. #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.)

  2. #2
    Registered User
    Join Date
    Dec 2005
    Posts
    52
    ...........hello?

  3. #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

Popular pages Recent additions subscribe to a feed

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