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

  Рет қаралды 39,055

Akaki Kuumeri

Akaki Kuumeri

Күн бұрын

Пікірлер: 105
@jmsian3505
@jmsian3505 3 жыл бұрын
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
@charlescheaney1175
@charlescheaney1175 7 ай бұрын
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 Жыл бұрын
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.
@OrientalPearl
@OrientalPearl 4 жыл бұрын
Nice throwback to Shanghai!
@TheImrankhan09
@TheImrankhan09 4 жыл бұрын
because of you i came to this guy channel
@OrientalPearl
@OrientalPearl 4 жыл бұрын
imran khan Wow, that’s really cool. Tell Akaki he owes me a drink. LOL
@seanhaynes8758
@seanhaynes8758 10 ай бұрын
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!!
@0x8badbeef
@0x8badbeef Жыл бұрын
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.
@akaHarvesteR
@akaHarvesteR 4 жыл бұрын
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.
@bikash44rocks
@bikash44rocks 4 жыл бұрын
you should rename your youtube channel to custom control Master. great work
@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!
@rjc0234
@rjc0234 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 жыл бұрын
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 жыл бұрын
Great content Akaki. There is very little on KZbin 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!
@RameshKumar-mv3jd
@RameshKumar-mv3jd 3 жыл бұрын
That handicap Smash controller is amazing lol
@PaddyPatrone
@PaddyPatrone 6 ай бұрын
I didn?t have the folder hardware in the arduino folder. I created it but it doesnt swork. Any help ?
@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.
@jonsay241
@jonsay241 4 жыл бұрын
Found your page from Oriental Pearl You have skills Alright now 👏👏
@OrientalPearl
@OrientalPearl 4 жыл бұрын
Now he owes me 2 drinks!
@garethbarry3825
@garethbarry3825 11 ай бұрын
It's a pitty this doesn't seem to be working with the new IDE 2.x.
@nocloo6829
@nocloo6829 9 ай бұрын
Absolutely fantastic advice. Thanks for the enjoyable video!
@byavuzeeer
@byavuzeeer 2 жыл бұрын
it works in DCS with arduino micro pro...thank you
@rcdb4160
@rcdb4160 Жыл бұрын
Why I don't have hardware .... I just have libraries in my document/arduino/
@garytaylor5646
@garytaylor5646 3 жыл бұрын
Just wanted to thank you for making my life a lot more enjoyable ;)
@AkakiKuumeri
@AkakiKuumeri 3 жыл бұрын
Glad you enjoy it!
@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.
@mike5058
@mike5058 2 жыл бұрын
great tutorial - been trying this for a while now. Thanks alot!
@pantest3755
@pantest3755 4 жыл бұрын
This is gold how are you not increasing in numbers? maybe interest i guess and stupid youtube algorithm.
@peterboy209
@peterboy209 4 жыл бұрын
Brilliant Work, Subscribed!
@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?
@AaronWerner
@AaronWerner 11 ай бұрын
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?
@Thalas5
@Thalas5 2 жыл бұрын
Joystick.h also works on an Ardiono Due
@CSOCSO
@CSOCSO 2 жыл бұрын
i had to put the boards text under here ( replace original one) C:\Program Files (x86)\Arduino\hardware\arduino\avr
@PaddyPatrone
@PaddyPatrone 6 ай бұрын
Dude thanks for this
@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
@Subfightr
@Subfightr 4 жыл бұрын
You're amazing.
@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
@Viking8888
@Viking8888 4 жыл бұрын
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.
@joker_g7337
@joker_g7337 3 жыл бұрын
Pretty cool indeed
@Were_M_Eye
@Were_M_Eye Жыл бұрын
Now I have to hide from usb police :/ Great vid!
@steelbird
@steelbird 4 жыл бұрын
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!
@WayneMcNab
@WayneMcNab Жыл бұрын
Found it. I changed the .pid but not the .vid. Thanks
@josephbon
@josephbon 4 жыл бұрын
Dude, you're awesome! Curious, what do you do for work?
@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 10 ай бұрын
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?
@illusion7951
@illusion7951 15 күн бұрын
is it possible to use an arduino board and controller at the same time in an f1 game?
@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???
@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.
@EpicHale
@EpicHale 4 жыл бұрын
Do you have a video and 3d files for your hand break?
@Skeletal_Interface
@Skeletal_Interface 2 жыл бұрын
Question? what 3D printer Filament did you use to print The flight stick, and is it fairly durable.
@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?
@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.
@interx007gmail
@interx007gmail 4 жыл бұрын
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 жыл бұрын
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)!
@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...
@radiolo1221
@radiolo1221 4 жыл бұрын
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 жыл бұрын
Yes, I'll be publishing it soon
@radiolo1221
@radiolo1221 4 жыл бұрын
@@AkakiKuumeri Thank you!
@BoxOfGod
@BoxOfGod 4 күн бұрын
Fine I will subscribe.
@szkarlatny_pumpernikiel
@szkarlatny_pumpernikiel 4 жыл бұрын
Hello, what is the name of this program what you are using 3d SolidCAD? Or some other? "Thumb-up!"
@AkakiKuumeri
@AkakiKuumeri 4 жыл бұрын
Fusion 360
@jeumettu
@jeumettu 2 жыл бұрын
thanks alot fam
@axMf3qTI
@axMf3qTI 3 жыл бұрын
Does this work with a Nintendo Switch. I imagine so since you made a smash controller.
@AkakiKuumeri
@AkakiKuumeri 3 жыл бұрын
No, this is for USB HID only
@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 3 жыл бұрын
@@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
@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.
@dencio1976
@dencio1976 Жыл бұрын
figured it out yet?
@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.....
@MrGeekGamer
@MrGeekGamer 3 жыл бұрын
Link in the description is dead.
@dualxsurvival155
@dualxsurvival155 3 жыл бұрын
Could i use a non brand name arduino micro for joystick.h
@AkakiKuumeri
@AkakiKuumeri 3 жыл бұрын
You could
@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?
@FrogFraction
@FrogFraction 2 жыл бұрын
THE USB POLICE *Wheeze* kzbin.info/www/bejne/j3LFmpJ3pqtql7M 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?
@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.
@kalyann1600
@kalyann1600 4 жыл бұрын
Can it be used for playstation 4?
@karthikk6512
@karthikk6512 4 жыл бұрын
Can u make a320 sidestick
@memehosis8852
@memehosis8852 4 жыл бұрын
can i get a link to your discord server?
@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"
@gamegame8558
@gamegame8558 4 жыл бұрын
wow
@yunusalih
@yunusalih 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.
Home-made Hall effect joystick for Flight Simulator 2020
10:21
Akaki Kuumeri
Рет қаралды 160 М.
Open-Source Wooden Keyboard/Macropad: DIY Your Way to Productivity
21:49
Smart Solutions for Home
Рет қаралды 33 М.
Confronting Ronaldo
00:21
MrBeast
Рет қаралды 33 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 56 МЛН
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 129 МЛН
Arduino Joystick 2.0  Library  - Beginners Guide
25:22
Dan's Tech Box
Рет қаралды 88 М.
How I play with my one-handed PlayStation controller
8:05
Akaki Kuumeri
Рет қаралды 8 МЛН
Beginners guide to game controllers with Arduino
7:57
CNCDan
Рет қаралды 7 М.
8-speed racing stick with my 3D printer and Arduino
10:26
Akaki Kuumeri
Рет қаралды 23 М.
How to Build a Button Box
34:21
Wim
Рет қаралды 254 М.
DIY Flight Simulator Joystick
9:10
Tom Stanton
Рет қаралды 1,1 МЛН
DIY 3D Printed Flight Yoke for 2020 Microsoft Flight Simulator
14:00
Michael Rechtin
Рет қаралды 207 М.
Creating a 3d Printed FMC for MSFS2020 & P3D
43:46
Karl Clarke
Рет қаралды 146 М.
Getting started with the Arduino Joystick Library
16:38
Jason Winfield
Рет қаралды 1,8 М.