Tomu Breidah |
No Problems, Only Solutions
|
|
|
Reged: 08/14/04
|
Posts: 6819
|
Loc: Neither here, nor there.
|
|
Send PM
|
|
Re: Analog controls with an arcade controller board?
10/14/21 07:12 PM
|
|
|
> Not sure I've seen any analogue joystick like that. Sure, L and R on most controllers > (especially GameCube ones) are analogue but not on the joystick trigger. > > It sounds like it might be a custom job though. > > If you make it yourself, I'd personally use something based around the Atmega32u4 > (Arduino Mini, Leonardo, Teensy 2.0 or I think there's an Adafruit one too). There > exists the Joystick library (https://github.com/MHeironimus/ArduinoJoystickLibrary) > which makes converting analogue inputs to USB trivial, just read in the data and pass > it to the library. It will do digital inputs too.
I don't know why I finally thought to do this, but I searched for 'microswitch gamepad'
and this... Looks very interesting.
https://www.amazon.com/gp/product/B08J47Y4X4/ref=ox_sc_act_image_1?smid=A1F09YLIFN74DS&psc=1
Now I'd just need something that would equate to the analog triggers.
And yes. This would be a custom job. My idea (probably shouldn't post this, but what the hell - whatever makes it a reality) is to have a somewhat modular gamepad. The microswitches would be wired to the main control board (no large surface PCB like in normal gamepads). If something (particularly a button/switch) goes bad, I can just replace it by swapping it out. This seems more feasible than finding and ordering replacement rubber graphite contacts. And way more economical than replacing a whole gamepad.
In regards to analog triggers. I'm aware there are pots and hall effect sensors. Maybe the thing I linked to wouldn't work for that. Unless it'd require adding another board (such as an Arduino Mini). Or just going the route of an Atmega32u4 or any of the other things you suggested.
My goal is also a somewhat compact design, or at least not being bulky where one would hold it, and be more durable and/or fixable.
Edit: Okay. I see there are pins for R2 and L2, which would mean they're most likely digital and not analog. Hmm...
LEVEL-4
Edited by Tomu Breidah (10/14/21 07:19 PM)
|
|