omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Detect inputs from XBox One Controller (via bluetooth?)

    Pythonista
    bluetooth modules input game dev gamecontroller
    2
    3
    2246
    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.
    • MathJazz
      MathJazz last edited by

      How to detect inputs from XBox One Controller in Pythonista

      Hi! What a wonderful app isn't it? I really appreciate it, top quality!

      With that being said... I've been trying to import modules that can handle Bluetooth devices connected to my iPad, but every modules I tried to import where not integrated in Pythonista (in fact, the only one available was cb).

      PyGame? Nah, PyID? NAH!

      By now, it seems impossible to read inputs from my gamepad. BTW: I don't have any code to show you as I can't import a proper module to play with...

      Actually, here's what I need to do:

      • I need to detect the controller;
      • I need to read the inputs from joysticks, triggers and buttons...

      It can't be that hard? No?

      Suggestion for Pythonista

      If it is not possible, I think it would be VITAL to add this feature in Pythonista!

      With MFI controller support from apple mobile devices, Pythonista would be THE software to develop python based games on iPad Pro! Imagine developping, coding, testing and enabling controllers all in a box! This would be awesome!

      Thanks in advance for your suggestions and I hope you're all safe and super healthy! :)

      MathJazz

      mikael 1 Reply Last reply Reply Quote 0
      • mikael
        mikael @MathJazz last edited by

        @MathJazz, have you tried scene.get_controllers()?

        1 Reply Last reply Reply Quote 2
        • MathJazz
          MathJazz last edited by MathJazz

          Oh my god! You're the MAN!

          I did not know that scene module would handle that, I'm gonna read more about that module and all its capabilities!

          A huge thanks Mickael, I am now following you in case I ever need some help!

          Take care!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors