Here's your controller bro
Here's your controller bro
Other urls found in this thread:
So, does anyone know how to make a controller?
I was wondering on the possibility:
Assuming something like star citizen gets released (lel), and i wanted to play it (double lel because toaster), what are the resources needed to make a controller setup from scratch+necessary drivers?
only arcade sticks
all you need is a board and switches.
It can't be much harder than making an arcade cabinet controller or fighting stick, must be the same principle.
Yeah, ok, i have the pieces of plastic that make a arcade stick.
Now what? What kind of transducers do i need? How do i interpret and elaborate the signals into something recognizable by a USB port?
If i want to use more than one controller "in parallel" for different occasion how do i make a switch that allows me to switch between them without messing with wires and turning a USB plug 3-4 times every time?
How do i tell the computer "hey, this is my joystick setup, it's inputs are these, please, link them to these in-game actions" (ie: a driver)?
Well, you'd need the shell, first of all. That aside, it wouldn't be hard repurpose a Xbox 360 pcb. That'd probably be the easiest way.
Here's your controller bro
You can get usb encoders for the micro switches used in arcade controls. Keep in mind, you won't have any analog controls.
here's your PTSD bro
And if i wanted analog controls?
That's why i said "from scratch". If i want to make a titan-sized controller with a hundred levers and buttons to play a shitbashed version of Steel Battalion i threw together with spit and Unity what are the things i need to know? Because translating "throttle lever at 50%" in computer-recognizable language isn't immediate. That's what drivers are for and every controller has it's own driver.
Maximum airflow bro
You can get a teensy any program it to be a HID.
>How do i tell the computer "hey, this is my joystick setup, it's inputs are these, please, link them to these in-game actions" (ie: a driver)?
Get a microcontroller with an USB transceiver, hook up the controls to the inputs and set up the MCU to show up as an HID on the PC end. You don't need any special drivers for it, it's standardized to just werk (tm) and all you have to do is translate the button presses and axis movements into HID commands.
Does it support analog?
Outside of repurposing other controllers, Teensy boards are pretty simple to program as HID devices.
Yep, HID is how mice/joysticks communicate.
Depends on the microcontroller and libraries you're using. According to a cursory search, some Arduino models will do exactly what you're looking for with the joystick library.
Ok, and for something like this? The idea would be to have the switch act as a "front" for all the peripherals so to use only one USB port but still having multiple peripherals that i can switch to on the fly, possibly without needing to strictly multiplex it (meaning having to select which one is active manually)
Yes
You know USB hubs exist, right?
How exactly? How do i set up the switch in this case?
Oh thanks bro heres yours.
Really?
I thought the only stuff that did it was network stuff in server racks
The new gaming keyboard has arrived!
No. USB supports up to, what, 128 devices on a single port? You might need external power for anything past 4, though.
Start looking into GPIO.
But we're playing a racing game bro, use this.
lmao, what the fuck is this.
...
YO! pass me the controler
sure f*m
These things are fucking cool
youtube.com
...