Results 1 to 3 of 3

Thread: Another Qt Joystick Question

  1. #1
    Join Date
    Aug 2011
    Location
    California, USA
    Posts
    24
    Thanks
    4
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Another Qt Joystick Question

    Hey guys,

    I'm having trouble creating an application that allows Qt to read usb Joysticks (think the Microsoft Flight sticks). I can't seem to find a library that works (or I just can't get the libraries installed correctly). Does anyone know of a library that can read joystick values? I'd greatly appreciate it!

    Yes I've searched around on the forums, but I still can't get it to work.

    Thanks for the help!

    Chris

    P.S. My OS is Win7 64 bit and I have the non-commercial version of Qt. Mac OSX compatibility would be awesome in a library, if that's not too much to ask.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Another Qt Joystick Question

    This has nothing to do with Qt.
    The Joystick has to come with a driver, and possibly with a lib.
    You need to look at the manufacturer site for info, or on related forums.
    A quick goole returned this, for a different (not MS) USB Joystick.
    I am sure if you google a bit you will find what you are looking for.
    http://www.open.com.au/mikem/arduino...ick/index.html
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Aug 2011
    Location
    California, USA
    Posts
    24
    Thanks
    4
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Another Qt Joystick Question

    For anyone in the future that comes around looking for Qt Joystick support, check out Joypick here: http://code.google.com/p/joypick/

    I've used it in my code and it works like a dream with the Logitech Extreme 3D Pro joystick and the wired XBox360 joystick on Windows. It uses SDL, so the library itself is cross platform. Check out the Google Code page for more details.

    Thanks,

    Chris

Similar Threads

  1. Emulating Joystick Input in Linux ( C++ )
    By invisible_uli in forum General Programming
    Replies: 6
    Last Post: 5th January 2012, 07:01
  2. Replies: 10
    Last Post: 12th March 2011, 23:07
  3. Joystick Reader
    By Arpitgarg in forum Newbie
    Replies: 3
    Last Post: 6th March 2011, 15:43
  4. SQL Question
    By ^NyAw^ in forum Qt Programming
    Replies: 5
    Last Post: 8th April 2008, 19:36

Tags for this Thread

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.