Xbox Controller Interface


    Hello,
    Was developed on and for windows. Hope it can save some of your time.
    1. Start Max Msp
    2. Plug-in your Xbox 360 controller
    3. Have fun
    Please give feedback if useful.
    A little preview:
    Xbox-controller.maxpat
    maxpat

    • Charlie Bravo
      Apr 08 2016 | 5:39 pm
      Hi! Any pointers on doing something similar for the Xbox One controller?
      Thanks :D
      Share
    • Charlie Bravo's icon
      Charlie Bravo's icon
      Charlie Bravo
      Apr 08 2016 | 5:43 pm
      Scratch that, this does! You should add Xbox One to the tags, thanks so much for sharing this!
    • Sabina's icon
      Sabina's icon
      Sabina
      Apr 27 2017 | 10:35 am
      Hi! Thanks, it looks so useful.
      I'd like to purchase a controller and use it with your patch. I got a question :
      Which model should I buy now in 2017 to work with it ?
      Is it working as well with generic controllers ?
      Thanks!
    • System NO3's icon
      System NO3's icon
      System NO3
      Jul 05 2017 | 12:27 pm
      Hello, I'd love to try this, but unfortunately the file is missing... Too bad! :p
    • Chris Christoforou's icon
      Chris Christoforou's icon
      Chris Christoforou
      Dec 08 2017 | 1:34 pm
      Hello!
      Is there any chance this would work on MAC OSX? If not, would there be an easy way for me to make this happen? Thanks in advance.
    • Archie Lynas's icon
      Archie Lynas's icon
      Archie Lynas
      Jan 16 2018 | 12:44 pm
      Hi this is great!
      I can't seem to get it to work with an Xbox One controller. Having read further up the comments it seems that people have got it to work with their Xbox One controllers, am I doing something wrong??
      Thanks
    • Antonio Messana's icon
      Antonio Messana's icon
      Antonio Messana
      Aug 17 2018 | 10:18 pm
      Hi, everybody I'm a total beginner on jitter, so I'll try to be as clear as possible. I want to map the joystick keys to trigger some premade vizzie objects. Let's say I just want to control the crossfade between two videos with the left trigger of the controller. How can I do this?
    • Gregory Taylor's icon
      Gregory Taylor's icon
      Gregory Taylor
      Aug 18 2018 | 6:06 am
      Doing this is similar to any basic Max patching question. You need to know three things (one of which you already know, if you're at all familiar with Vizzie).
      1. What range of values doe the XFADR module in Vizzie expect to work with. Answer: floating point values in the range of 0. - 1.0.
      2. What range of values does the joystick controller put out? You can check that out by either looking at the patch itself, or by sticking a floating point number box on the output.
      3. What Max object or technique can I use to convert the output range of values from the video controller part of my patch to the 0. - 1.0 range that all Vizzie modules expect for data (Hint: the scale object)?
      That's it, basically. Good luck.
    • Antonio Messana's icon
      Antonio Messana's icon
      Antonio Messana
      Aug 19 2018 | 1:49 pm
      Thanks a lot, Gregory! Trying to figure out now a bunch of new stuff :)
    • Saul Zetler's icon
      Saul Zetler's icon
      Saul Zetler
      Dec 03 2018 | 11:47 pm
      I have this driver installed to connect the xbox controller to my macbook. The hi object recognizes that the controller is connected but won't read any input from the controller. Any ideas on how to get the hi object to read from the controller on a mac?
    • jselody's icon
      jselody's icon
      jselody
      Dec 31 2019 | 5:05 am
      I've noticed the rt and lt controls are indexed with the same number, so if you hold both triggers down [hi] outputs the same value as when both triggers are up. Is there any way to distinguish the right trigger from the left trigger?
    • Jeremy's icon
      Jeremy's icon
      Jeremy
      Apr 09 2021 | 7:29 am
      Hi, I'm taking a look at this in response to some support inquiries. I'm currently trying a recent Xbox wireless controller (Series X/S) with the macOS version of 'hi' (and without the 360Controller driver, which doesn't work with this controller). It's working fine and all of the controls are registering uniquely and providing data. Are the reported problems ONLY with the older 1708 controller via XINPUT? Or only on Windows? Thanks for any info you can provide.
    • TFL's icon
      TFL's icon
      TFL
      Feb 13 2022 | 10:31 am
      Hi @Jeremy Did you make any progress on this topic since last year? Apparently the triggers problem is specific to Windows (according to this thread), and several, if not all xbox controllers are affected (same issue with a Xbox One controller connected trough USB). Maybe a workaround could be to use another driver than the one provided by default by Windows, but I don't know how to do that.
    • Jeremy's icon
      Jeremy's icon
      Jeremy
      Feb 13 2022 | 11:20 am
      We added an XINPUT mode to hi a while ago. Have you tried it?
    • TFL's icon
      TFL's icon
      TFL
      Feb 13 2022 | 12:19 pm
      I wasn't aware of this, no. How do you switch mode? Maybe I missed it because I'm still on Max 7...
    • Jeremy's icon
      Jeremy's icon
      Jeremy
      Feb 13 2022 | 12:23 pm
      Sorry, it's Max 8 only (grab the demo if you want to try it). I can't remember the syntax offhand, but it's probably something like 'xinput N' where N is a device id from 1-4.
    • TFL's icon
      TFL's icon
      TFL
      Feb 13 2022 | 12:37 pm
      Ah yes thanks! Just found it was added in 8.2.0. Well, that's one more reason for me to upgrade. Will wait for the next deal! For now I found a workaround with a custom xbox controller driver.