Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. I want to know how to distinguish two mouse signal plz help me

I want to know how to distinguish two mouse signal plz help me

Scheduled Pinned Locked Moved Hardware & Devices
helptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Charles of Korea
    wrote on last edited by
    #1

    :) If there are two mouses(A,B) pluged in a computer, I wonder how to distinguish A from B. :doh: plz help me

    L 1 Reply Last reply
    0
    • C Charles of Korea

      :) If there are two mouses(A,B) pluged in a computer, I wonder how to distinguish A from B. :doh: plz help me

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I am confident that it's not possible to determine which mouse produced the input messages from usermode ring-3. However, it might be possible at ring-0... by implementing a mouse filter driver which connected to \\Device\\PointerClass0 and other pointerclass input devices on the chain. But I can only imagine the chaos when multiple pointer devices are moving at the same time. Sounds a bit difficult even at this level to me. But if you want to explore, the sample code in the Microsoft DDK at: C:\WINDDK\3790.1830\src\input\moufiltr could be modified to research this idea. Best Wishes, -Randor (David Delaune)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups