How to rename Arduino Micro gamepads, how to use multiple controllers at the same time

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 104

  • @charlescheaney1175
    @charlescheaney1175 7 месяцев назад +2

    So, I just did this yesterday and while in general this is correct, and this guy is Amazing, there is a bit more to this.
    1) The blank board you get IS an Arduino Leonardo, Micro or Pro Micro (remember only ATMega32U4 boards are good for these controllers. So, that is what it will come up as.
    2) Let's say you have 3 items you want to run separately (and yes, you could run them all at once, but go with it), Shifter, Pedals and a Steering Wheel.
    3) For EACH board/Controller, you will need to change the PID and NAME in the boards.txt and ONLY compile THAT sketch and upload it to that board. So, let's say PID=0x0001 for the Shifter, 0x0002 for the Pedals and 0x0003 for the Wheel. When you start with the BLANK board, you will have to change your boards.txt file for each one as you go! It is important not to skip this step. You will have to upload twice (at least I did) and then the board will show up as being selected in the board selection drop down as what you call it. I changed my Product Name as well so I can easily tell them apart.
    4) Once you do get them all configured you can then COMBINE them ALL into the one boards.txt file. When you plug in the Shifter board, it will come up in the Arduino IDE as the Shifter board (or you have to select it), but in this way you can have all three boards loaded and operating and in development at the same time.
    I currently can work on my Shifter and my Pedals project at the same time. I DO have to be careful about which sketch is going to which board, but as long as you don't do any 'cross-overs' you should be fine.
    It is this initial setup for the boards that is not covered in the video, but I was able to work out how to make it so I could get them all configured and be able to connect them all at the same time and develop the different projects at the same time as well.
    Really a shifter, pedals and wheel COULD be all combined into one Arduino, but I'm using three to have a bit more fun. Also, I use the Pro Micro and it works with this stuff just fine! Also a big THANK YOU to the Joystick.h developer... That's some nice HID!

    • @parrata
      @parrata 3 месяца назад

      I'm pretty new to all of this and I just have one arduino right now so I can't test it myself, but: if two DIY gamepads have the same id and name, does the operative system believe both devices are the same? (one gamepad that casually uses more than one port) or they conflict and the OS decides to use only one and ignore the other?
      I want to know if we can take advantage of the undesired behaviour.

    • @ChipCheaney
      @ChipCheaney 3 месяца назад

      I do not know the answer to this. But, get another board and let us know! I have 3 promicros, 1 Leonardo and 1 Uno! Each serves mt purposes pretty well… even though I’m not done with them yet. I have the shifter and I’m reworking the pedals now.

  • @coriscotupi
    @coriscotupi Год назад +3

    Can't thank you enough, Akaki. I've built a number of controllers (throttle quadrant for general aviation airplanes and for Airbus, rudder pedals, collective control for helicopters) and have been struggling since forever with duplicate Arduino names on the Windows device lists, forcing me to connect/disconnect each every time, with the ensuing need to recalibrate them ever so often. I'm finally free of all that hassle.
    Liked, subscribed. Of course.

  • @akaHarvesteR
    @akaHarvesteR 4 года назад +5

    Thank you! I've tried renaming my Arduino Joystick devices before, and found it really awkward and couldn't find good information about it... I knew about the boards.txt file, but I didn't know you could create a new board definition to separate different projects. That's great! I'm going to need to do this really soon in fact, as my ongoing yoke project uses the same Due board as my existing collective build.

  • @seanhaynes8758
    @seanhaynes8758 9 месяцев назад

    I know the vid is old, but sooooooo glad I came across it and you other vids. Never used a board or even done any coding - but your feeds helped me build a prototype collective for helicopter sims. Brilliant, well done and thank you!!

  • @bryanp2780
    @bryanp2780 Год назад

    Thanks so much for this video, I've been searching down a rabbit hole looking for a simple explanation on how to do this. Worked like a charm!

  • @bikash44rocks
    @bikash44rocks 4 года назад +4

    you should rename your youtube channel to custom control Master. great work

  • @rjc0234
    @rjc0234 4 года назад +4

    Brilliant. the instructions on the Midi website were really confusing me, as it assumed the user had any knowledge of Aurduino etc! really looking forward to using my joystick, throttle, and rudder as they are now completed. just waiting for SB cables that are long enough. I did find it very difficult to glue the magnets in, and the little stands the hall sensor sit on were very fragile and have broken a few times due to the gimbal knocking into them!
    I also live the video presentation style. informative, but a little bit funny.
    and of course I have named then after the creator! :D

    • @AkakiKuumeri
      @AkakiKuumeri  4 года назад +2

      I saw the photos of your print, it looks much nicer than mine. I hope it works out for you. Once I got everything glued down, I haven't had anything break.

    • @rjc0234
      @rjc0234 4 года назад

      @@AkakiKuumeri Thanks! The reason I had a few things break is I used wire that was far too thick, so on the Hall sensors it caused them to clash with other parts. But nothing that couldn't be solved with more 3D printing!

    • @roydavies953
      @roydavies953 2 года назад

      Hi, i recently used the musinou method on my 5 arduino leanardo button boxes and now all 5 boxes are now recognized by my games

  • @EastLondonKiwi
    @EastLondonKiwi 4 года назад +4

    Great content Akaki. There is very little on RUclips that covers this subject, this has helped me out a lot. Most flight controller content is about the hardware builds which is the easy bit in my view. I would love to see you explain force feedback for flight controllers as I believe you'd do a great job at it.

    • @AkakiKuumeri
      @AkakiKuumeri  4 года назад

      Thanks a lot!
      I would love to know more about force feedback myself. I’ll put it on the list!

  • @jmsian3505
    @jmsian3505 3 года назад +6

    8:39 Start of main topic "renaming the arduino" joystick

    • @CSOCSO
      @CSOCSO 2 года назад

      this should be on top. THANKS

    • @Simlife101
      @Simlife101 2 года назад

      @JM Sian I just mentioned this. It should be as the title states and first thing he mentions or time stamp if. A lot of useless information I had too waste 8 minutes on. Not being a di*k just really annoying

  • @OrientalPearl
    @OrientalPearl 4 года назад +5

    Nice throwback to Shanghai!

    • @TheImrankhan09
      @TheImrankhan09 4 года назад

      because of you i came to this guy channel

    • @OrientalPearl
      @OrientalPearl 4 года назад +1

      imran khan Wow, that’s really cool. Tell Akaki he owes me a drink. LOL

  • @jonsay241
    @jonsay241 4 года назад +5

    Found your page from Oriental Pearl
    You have skills
    Alright now 👏👏

  • @garethbarry3825
    @garethbarry3825 11 месяцев назад +1

    It's a pitty this doesn't seem to be working with the new IDE 2.x.

  • @nocloo6829
    @nocloo6829 8 месяцев назад

    Absolutely fantastic advice. Thanks for the enjoyable video!

  • @0x8badbeef
    @0x8badbeef Год назад +2

    10:35 It doesn't have to remember it forever. Go to your Device Manager, find the device, and Uninstall it. Plug in your device and it will register it. But if you want to play it safe lookup "List of USB ID's" and make one up that is not used.

  • @PaddyPatrone
    @PaddyPatrone 6 месяцев назад

    I didn?t have the folder hardware in the arduino folder. I created it but it doesnt swork. Any help ?

  • @RameshKumar-mv3jd
    @RameshKumar-mv3jd 3 года назад

    That handicap Smash controller is amazing lol

  • @garytaylor5646
    @garytaylor5646 3 года назад

    Just wanted to thank you for making my life a lot more enjoyable ;)

  • @pantest3755
    @pantest3755 4 года назад

    This is gold how are you not increasing in numbers? maybe interest i guess and stupid youtube algorithm.

  • @byavuzeeer
    @byavuzeeer 2 года назад +1

    it works in DCS with arduino micro pro...thank you

  • @mike5058
    @mike5058 2 года назад

    great tutorial - been trying this for a while now. Thanks alot!

  • @maximac1515
    @maximac1515 10 месяцев назад

    11:35 i think another game that could utilize all this controllers at once is The Crew 2 where you have cars (steering wheel + pedals), planes (joystick + throttle) and boats (steering wheel + throttle). I don't know if you can set it up like this in game though.

  • @rcdb4160
    @rcdb4160 Год назад +2

    Why I don't have hardware .... I just have libraries in my document/arduino/

  • @PaddyPatrone
    @PaddyPatrone 7 месяцев назад

    Please focus on the actual topic. There is plenty of stuff in the video I had to skip through just to get to the actual part that refers to whats in the video title.

  • @peterboy209
    @peterboy209 4 года назад +1

    Brilliant Work, Subscribed!

  • @WayneMcNab
    @WayneMcNab Год назад

    Thanks very much. Great video. Windows 11 sees the 2 new unique Micro names, in the Devices and Printers window, but not in the Game Controllers window when you right click a controller icon then left click Game Controller Settings. MSFS 2020 also still displays the same old name for the 2 Arduino micros unlike what I see in your video. Also, if I have of 2 differently named Micros programmed with two different sketches and plug one in at a time, it take the setup from the previously program Micro. Any thoughts.
    Thanks
    Wayne

  • @Were_M_Eye
    @Were_M_Eye Год назад

    Now I have to hide from usb police :/
    Great vid!

  • @Subfightr
    @Subfightr 4 года назад +2

    You're amazing.

  • @vladyslavkalinichenko
    @vladyslavkalinichenko 5 месяцев назад

    Thank you for useful method, I’m still figuring why that doesn’t work for me.
    Have you tried to connect multiple devices into a single ecosystem using master-slave communication? I wonder if it is possible having just a single device connected to PC and others are connected to that host device?

  • @EpicHale
    @EpicHale 4 года назад +1

    Do you have a video and 3d files for your hand break?

  • @Simlife101
    @Simlife101 2 года назад

    @Akaki Kuumeri I have a problem and not sure if this would help.
    I have a Button box and a racelogic which both come up as Arduino Micro in USB controllers in Windows but if I turn my pc on with both plugged in only the one will work and show up I have too unplug the one that isn't being detected then replug for it to show both arduino micro. What can I do to fix this please.

  • @AaronWerner
    @AaronWerner 10 месяцев назад

    I am running micro as game controller for FS 2020 and have tried to adjust sensitivity in the game settings but unfortunately it does not help. My controller is way too sensitive, is there a way to adjust the sensitivity in the sketch file?

  • @Viking8888
    @Viking8888 4 года назад +1

    How many buttons/axises, axees (you know what I'm trying to say!) can a Teensy control. Some HOTAS units have a cable running from the stick to the throttle quadrant. Could that be done with a small micro controller like the Teensy to keep from using two separate controllers?

    • @tnield9727
      @tnield9727 4 года назад

      Teensy 3.6 has 22 analog pins, so... a lot. You could do as many as 22 analog axes.

    • @S60Team
      @S60Team 3 года назад

      With github.com/MHeironimus/ArduinoJoystickLibrary (Akaki use this):
      You can use 7 Analog Axis, 2 HatSwitch and 128 Buttons in Windows.

  • @steelbird
    @steelbird 4 года назад +1

    Hey. Nice work.
    Do u have the handbrake project? Stl and so.. i couldnt find it.
    Thanks regards from uruguay

    • @AkakiKuumeri
      @AkakiKuumeri  4 года назад

      Hi, I've just uploaded it in the same thingiverse posting. Try it out!

  • @josephbon
    @josephbon 4 года назад

    Dude, you're awesome! Curious, what do you do for work?

  • @fotoamgamgfoto3695
    @fotoamgamgfoto3695 Год назад

    What ID to use to get it recognizes by steam as generic game controller or wheel? Steam games does not use my Leonardo

  • @Skeletal_Interface
    @Skeletal_Interface 2 года назад

    Question? what 3D printer Filament did you use to print The flight stick, and is it fairly durable.

  • @Thalas5
    @Thalas5 2 года назад

    Joystick.h also works on an Ardiono Due

  • @illusion7951
    @illusion7951 10 дней назад

    is it possible to use an arduino board and controller at the same time in an f1 game?

  • @joker_g7337
    @joker_g7337 3 года назад

    Pretty cool indeed

  • @BooktownBoy
    @BooktownBoy Год назад

    Hey there, cheers for the vid...I've got 2 Micros set up, both with individual names and PIDs and they show up in windows devices and printers no problem, however, the one with analogue controls does not work in games or in Xpadder....also the 2 Micros still report to the game with the same button numbers....so, I bind a key to a button on 1 micro (say it reports as button 1) then bind another key to the other Micro but it reports as being button 1 again and the game gets confused...help???

  • @Scottforyoutube
    @Scottforyoutube 10 месяцев назад

    Does anyone know if this still works with ide 2.x? I cannot find the path referenced here anywhere on my Mac. /Users/username/Documents/Arduino/hardware/. I have searched all over and cannot find where to store this new board description.

    • @hekka7270
      @hekka7270 9 месяцев назад

      Try this: User name/AppData/Local/Arduino15/packages/arduino. I found my hardware folder there but this method didn't work. I recently came out with a new trick how to use multiple Arduinos same time and I am now testing it. It seems to be OK and everything works fine. Do you still have that problem?

  • @dmmuller
    @dmmuller 2 года назад

    May I ask, why alter the VID and the PID. VID is vendorID, so that could theoretically remain the same? I think each vendor gets 60k PID's to use, so there should still be little chance of a conflict?

  • @CSOCSO
    @CSOCSO 2 года назад +3

    i had to put the boards text under here ( replace original one) C:\Program Files (x86)\Arduino\hardware\arduino\avr

  • @interx007gmail
    @interx007gmail 4 года назад +1

    Hi
    Great idea
    I was thinking if use a arduino mega for more input and sent to a leonardo that then send to pc usb
    Is it possible
    I can not program it my self

    • @AkakiKuumeri
      @AkakiKuumeri  4 года назад

      It's possible. You could also use UnoJoy to make the Mega implement a USB gamepad directly: github.com/AlanChatham/UnoJoy

    • @S60Team
      @S60Team 3 года назад +1

      It's possible, but i recommend you use Leonardo or Pro Micro + few MCP23017. You can get up to 128 buttons with 8 MCP using only 2 ports SDA and SCL (I2C bus)!

  • @jeumettu
    @jeumettu 2 года назад

    thanks alot fam

  • @lancegoens747
    @lancegoens747 Год назад

    Do you know if these Arduino based controllers can be recognized by an xbox series x console? I'd like to build / print a flight yoke, throttle, and possibly rudder pedals for MS Flight Simulator... but on the xbox console, not PC. Does MS prohibit hobbyist development of hardware controlers? I see there is a "Designed for xbox" program but that appears to be for companies by the looks of it... not hobbyist.

  • @radiolo1221
    @radiolo1221 4 года назад +2

    Could you upload the handbrake files to thingiverse?. I think is the perfect desing and size for my setup.
    Thank you for your vids, i love diy and electronics, and im trying to improve my 3d modeling skills.

    • @AkakiKuumeri
      @AkakiKuumeri  4 года назад +2

      Yes, I'll be publishing it soon

    • @radiolo1221
      @radiolo1221 4 года назад

      @@AkakiKuumeri Thank you!

  • @karthikk6512
    @karthikk6512 4 года назад

    Can u make a320 sidestick

  • @MrGeekGamer
    @MrGeekGamer 3 года назад

    Link in the description is dead.

  • @WayneMcNab
    @WayneMcNab Год назад

    Found it. I changed the .pid but not the .vid. Thanks

  • @ShikaiXu
    @ShikaiXu 3 года назад

    Nice vid Akaki. I've watched many of your vids and I have a question: what's the software you use for the 3D designing? Do you validate your design before printing? I mean the motions, the calculations, etc... I'm using Autodesk AutoCad and for me it's kind of one-way open-loop design, I make the model in software and only validation I can do is just watch it and think of it, then after hours of printing the problem came up at assembly, I have to fix it and another hours to wait, that's really time consuming for me. I wonder how you do the design, could you pls share some experience? Thanks!

    • @AkakiKuumeri
      @AkakiKuumeri  3 года назад

      Hi, I use Fusion 360.
      I do use it to model the hinges and motion linkages, but unfortunately it’s not very good at it. It doesn’t work well with two-axis joints or ball joints. Apparently it’s a fundamental flaw due to its joint angles being calculated with simple x-y angle combinations instead of quaternions as they should be.
      Just as you, most of the validation work is me just staring at the model. Luckily these prototypes are quick to print again and do trial and error on.
      For more complex mechanisms I would have to find another software that does it better. Currently I don’t know which one that would be. Perhaps autocad is better at it?

    • @ShikaiXu
      @ShikaiXu 3 года назад

      @@AkakiKuumeri Thanks for your reply, I'll try to learn Fusion 360 and see the difference comparing by Autocad. I learn Autocad, and some other industry software from college and after my graduation I don't have any update of those software. That was year 2008, and I knew Autocad, Solidworks of which the pros are for 2d drawing & 3d modeling/assembly, I also know a software called Adams, which is for validations like joints, but I don't see any people use that after my graduation, and that was long time ago: 2008. Luckily I still hold the knowledge of Autocad today so I can use that for my 3d printing modeling, however, my knowledge from 2008 can fulfill my need of modeling, but I don't know those extra magic new features of Autocad today...

  • @kalyann1600
    @kalyann1600 4 года назад

    Can it be used for playstation 4?

  • @szkarlatny_pumpernikiel
    @szkarlatny_pumpernikiel 4 года назад

    Hello, what is the name of this program what you are using 3d SolidCAD? Or some other? "Thumb-up!"

  • @fotoamgamgfoto3695
    @fotoamgamgfoto3695 3 года назад

    ok, nice, but how to rename them in windows only? :) I have a Logitech G920 and Dirt2 does not let it using even if I edit the XML files and duplicat G27 wheel files.... I need to rename it to be reported as Logitech G27 .... but in windows as I cannot touch firmware in the wheel, of course I also have Leonardo joysticks theye are also not recognized but they can be at leas renamed by your way here.....

  • @roydavies953
    @roydavies953 3 года назад

    Hi, great video, firstly...i have 5 button boxes i use for different sims but i only use a maximum of 3 at any given time, they all use leonardo boards.....this is where windows really gets confused and too my knowledge the person i buy my boxes off just wires up the buttons and thats all, so im assuming that that each board has a default bootloader, is there any way to read the default loader as an editable file, i use a powered usb hub for my boxes but the device id`s seem to be on random usb ports after a reboot to games like ACC gets mixed up controls even though i keep the boxes in the same usb ports, your help/advice would be greatly appreciated.

    • @AkakiKuumeri
      @AkakiKuumeri  3 года назад

      No, there’s no easy way to read the binary off of the arduino board, much less to then modify it. You’ll need to contact the developer for the source or recreate it yourself

    • @roydavies953
      @roydavies953 2 года назад +1

      @@AkakiKuumeri Hi, finally got round to trying to change the name, at first i couldnt get my head round it then i actually re-read the instructions lol, in the board.txt doc is there a limit to the length of text under usb product name, thank you for your help....very much appreciated. stay safe and an early Merry Christmas.
      Update....after getting the name changes sorted and are seen by windows 11 in device manager my games no longer recognize any of my button boxes rendering all 5 boxes unusable...all boxes have different names and different vid/pic numbers by 1 digit

  • @dualxsurvival155
    @dualxsurvival155 3 года назад

    Could i use a non brand name arduino micro for joystick.h

  • @axMf3qTI
    @axMf3qTI 3 года назад

    Does this work with a Nintendo Switch. I imagine so since you made a smash controller.

  • @IronManhood
    @IronManhood Год назад

    I'm using 2.0 ide and this simply does not work. I'm new to all of this and don't have a clue what's wrong. Maybe I'll figure it out eventually.

  • @leo_bysse4004
    @leo_bysse4004 3 года назад

    Can i use the teensy instead of the arduino? and if would it be better?

    • @S60Team
      @S60Team 3 года назад

      We try use Arduino Leonardo and Pro Micro because Teensy costs very much.

  • @sebastiansaez3423
    @sebastiansaez3423 Год назад

    HELP. Can somebody tell me why my arduino pro micro is not recognized anymore? i follow all the steps and then my pc stops recognizing the device, it won´t appear on my game device controller. I upload the same code on the new board preset and the pc cannot recognize again the device

    • @sebastiansaez3423
      @sebastiansaez3423 Год назад

      Update: it doesn´t appear in the game controller menu from windows, but it is recognized in the game. How can i make it appear in the windows game controller menu?

  • @xuhaoping4360
    @xuhaoping4360 4 года назад

    Actually, using MMJoy will be a much more easy way to do this hid devices.

    • @S60Team
      @S60Team 3 года назад

      It's NOT easy. I've tried MMJoy and many others. This is the way to go!

    • @xuhaoping4360
      @xuhaoping4360 3 года назад

      @@S60Team not really, this is definitely not the way to go. Firstly, you need to how to code, which is not a skill everyone knows, secondly, there are several lines of code needed to define each digital/analog input, which can build up easily if you are making a bigger hid box. For example, an MCDU requires more than 87 inputs, which leads to a few hundreds of lines of code. In a nutshell, Arduino library is too complicated for a noob starting with a simple box, and too
      cumbersome for a pro who wants to build a complex hid device. The only place where it is useful is when things like MMJoy cannot satisfy your requirement, ie, you need more than 6 rotary encoders, more than 10 rows/cols for button matrix, your shift register/adc chip is not supported, or you need some complex logic that is more than just simple reporting of buttons states. Otherwise, you are just wasting your time coding when other people have already spent years to develop a well around solution. Like MMJoy's author is now a major developer in VIRPIL, and even the current VIRPIL firmware and setup software are based on MMJoy.

  • @memehosis8852
    @memehosis8852 4 года назад

    can i get a link to your discord server?

  • @FrogFraction
    @FrogFraction 2 года назад

    THE USB POLICE *Wheeze* ruclips.net/video/YAbi_AqF7aQ/видео.html
    But i'm not sure what the exact setup here is.
    A couple of controllers with an arduino board inside. And each arduino board can be programmed with this code he shows, and if you edit the boards.txt file to have the same ID and name, it'll register the 2 controllers as 1 device?

  • @gamegame8558
    @gamegame8558 4 года назад

    wow

  • @Waylander131
    @Waylander131 3 года назад

    well explained, just too much side talk. The important info and answer to the topic from 9:00 to 11:00

  • @emiliodubois1433
    @emiliodubois1433 3 года назад

    "its given to them by the USB police"

  • @yunusalih
    @yunusalih 4 года назад +4

    Over engineering and dry humor, the german way.

    • @No1sonuk
      @No1sonuk 3 года назад

      From the name, and a few video titles, I assumed he was from Finland...

    • @jonlucaslastra1637
      @jonlucaslastra1637 2 года назад

      @@No1sonuk perk****! I also assumed he was Finnish. Strange Nihon-Finnish hybrid with sense of humour..

  • @uwe4741
    @uwe4741 3 года назад

    Nice video, but you are talking too much.