Results 1 to 2 of 2

Thread: add second USB mouse and treat input separately

  1. #1
    Join Date
    Nov 2008
    Posts
    22
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11

    Default add second USB mouse and treat input separately

    I'm searching the forums for clues or code snippets on how to add two usb mice to a linux system and treat the input from each USB mouse as separate input, and not have the 2nd usb mouse behave as the primary usb mouse.

    I'm trying to implement a simple push-button using the 2nd usb mouse. Another option I'm looking into is using a joystick an only track the main push-button.

    We are currently using the usb PHIDGET Sensor device, but it doesn't work well under heavy and continuous use.

    Any suggestions any of you an offer will be greatly appreciated.

    // Sal @ Northwestern University

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: add second USB mouse and treat input separately

    The initial setup of multiple independent pointers in X:
    http://ao2.it/en/blog/2010/01/19/poo...iple-mice-xorg
    How you plumb them (or indeed if you can plumb them) into QGesture is probably covered here.

Similar Threads

  1. Designer not responding to mouse input
    By brtip in forum Qt Tools
    Replies: 0
    Last Post: 28th July 2010, 05:11
  2. QTableWidget with its items stored separately
    By default user in forum Qt Programming
    Replies: 3
    Last Post: 13th July 2010, 21:46
  3. QWidget, HGE and mouse input.
    By Filippok in forum Qt Programming
    Replies: 0
    Last Post: 23rd June 2010, 23:34
  4. [problem] No mouse input to child widget
    By Demandred in forum Newbie
    Replies: 3
    Last Post: 13th April 2010, 13:44
  5. How to enable keyboard and mouse as input in qtopia-2.1.1
    By hvreddy1110 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 12th October 2006, 10:30

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.