1. All Unity Pro perpetual license customers: your special offer to subscribe is ready! Click here.
  2. We're running a survey about the usage of our graphics pipeline, help give us your feedback.
  3. Unity 5.6 beta is now available for download.
  4. Unity 5.5 is now released.
  5. Check out all the fixes for 5.5 in patch releases 1 & 2.
  6. Enter the Google Play Indie Games Contest in Europe. Read more about it here.
  7. Get prepared for the Tizen Mobile App Incentive Program! Read more about the upcoming program here.
  8. Enter the Microsoft Developer Challenge for a chance to win prizes. Read more about it here.

Multiple mice?

Discussion in 'Scripting' started by Mr. Animator, Feb 7, 2006.

  1. Mr. Animator

    Mr. Animator

    Joined:
    Oct 2, 2005
    Messages:
    193
    Okay, this might be a cooky idea, but can you independently read the input from two different mice plugged into the same computer?

    I have a craaaazy idea for doing a co-operative game on a single computer that is entirely mouse driven. I think there's a lot of potential there, and I'm pretty sure its technically possible. I have actually played Serious Sam split screen on a PC before, by using two mice and two keyboards... I'm not saying its comfortable, but there exists at least one game in the history of the world that could actually parse the input from two mice at the same time, so it should be possible! :)
     
  2. dan

    dan

    Joined:
    Jul 22, 2005
    Messages:
    151
  3. Mr. Animator

    Mr. Animator

    Joined:
    Oct 2, 2005
    Messages:
    193
    odd that a search of 'multiple mice' didn't return that thread...
     
  4. dan

    dan

    Joined:
    Jul 22, 2005
    Messages:
    151
    Searches are funny things sometimes. I just remembered following that particular discussion. :)
     
  5. Avaista

    Avaista

    Joined:
    Jun 13, 2012
    Messages:
    2
    If there is any chance that either of you see this, I am trying to do something similar but the link 404s.
    Could you let me know what he name of the discussion was, or give me a quick rundown of the solution. I know this was posted forever ago, but I haven't found anything else really relevant yet.

    Thanks for your time.
     
  6. whynotme

    whynotme

    Joined:
    Mar 24, 2012
    Messages:
    54
  7. horatiu665

    horatiu665

    Joined:
    Nov 22, 2012
    Messages:
    5
    Hi. Just like Avaista, I have the same issue and I could still not find any clear guide on the internet about this. Could anyone please confirm or infirm whynotme's link or some other way to do it?

    Thanks a bunch!
     
  8. ravingbots

    ravingbots

    Joined:
    Aug 20, 2015
    Messages:
    18
    I think you will be interested in Multi-Input: https://www.assetstore.unity3d.com/en/#!/content/59967 - it is an extension library for Unity that enables you to independently read input from two or more different mice, keyboards, and pads plugged into the same computer at the same time.
     
  9. LeftyRighty

    LeftyRighty

    Joined:
    Nov 2, 2012
    Messages:
    4,724
    or, if they've waited 4-10 years they can wait just a little longer for the upcoming changes to input handling announced recently... :p ;)
     
    BoredMormon likes this.
  10. ravingbots

    ravingbots

    Joined:
    Aug 20, 2015
    Messages:
    18
    I believe you are referring to this article: http://blogs.unity3d.com/2016/04/12/developing-the-new-input-system-together-with-you/ - I saw the video, and I could not find there information about supporting many mice/keyboards at the same time. Therefore, the ancient Unity developers, who are trapped in this thread, can finally rouse and blow the cobwebs away, because the shiny Multi-Input has arrived to resurrect their forbidden dreams about the new age of co-op gameplay ;)