Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Access gamepads via QGamepad

    Game Development
    2
    3
    635
    Loading More Posts
    • 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
      ckarner last edited by

      Hello,

      I'm currently working on some kind of embedded gaming project. Therefore I've connected two XBOX360 Wireless Gamepads to my Raspberry Pi using the Microsoft Xbox 360 Wireless Receiver.
      When using the QGamepad class that comes with Qt 5.7 it recognizes just one gamepad - but accepts input from both of them. Is there any way to tell Qt to directly access the devices?
      Linux itself recognizes the two gamepads as /dev/input/js0 and /dev/input/js1.

      I'm looking forward to any hints :-)

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        One thing that comes to my mind is to try out Qt 5.8 - maybe this issue is fixed there already?

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • C
          ckarner last edited by

          This was actually something I thought about, but I'd prefer other solutions than switching to Qt 5.8.

          Also: I don't know if it's actually an issue, it just seems as if QGamepad uses gamepads which are connected via USB.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post