I am creating(trying) a switch box for use with my xbox one to play f1 2019 and eventually transition to iracing. I have spend about 25 hours to date on this project and I still see no light at the end. I've used arduino in college briefly but not since. I have 2 toggle switches, 1 momentary, 3 rocker switches and 3 rotary switches.
At the moment I am trying to get the toggles, momentary and rockers working because the rotaries are not encoders; just the rotating switch with 6(i think) positions and I have absolutely no idea how to utilize them so I am moving forward for now. Attached is a wiring diagram I tried putting together so you can see what I've done; The switches are numbered at the top left of each, with the type written in between and the wire values next to the pole they attach to. After I made my enclosure and mounted the switches I was that console isn't very friendly with toggles, and the Uno isn't the best board for my project but I have a Pro micro coming in the mail this weekend, but I want so badly to at least get it operational because when the other boards get here it should be pretty simple to make the switch. Additonally, the rocker switches require power, how do I supply it?
Also, I have seen discussions talking about using a resistor or a diode to prevent floating pins, but I truly cannot tell if I need them or even which one because other people have mentioned the arduino's pullup resistors, but I am clearly in over my head but I'm still working diligently doing research and trying to achieve my goal. Please someone help me, this has burned all of my hours after work and my last weekend on this and while I enjoy working on this and problem-solving, my girlfriend is getting impatient that I haven't done anything else in a weekxD
The wiring is my main priority, I have some experience coding in python and very little c++. I'm pretty confident I can get that end up and running, but if you have a suggestion on whether to tether it to a joystick or keyboard, let me know. I was thinking keyboard because I believe the x1 just got keyboard emulation support. I also bought simhub but don't think I can utilize it until I make the jump from my console