Connecting Switches Directly
Posted: Sat Nov 26, 2022 10:40 pm
Hey ho everybody.
So I'm planning a bit of a Mister build, got my DE10-nano and on the lookout for an arcade cabinet with a CRT.
Eventually I would like to use Mistercade or something similar with JAMMA, but for the time being while I'm messing around, I'd like to try just hook up an arcade stick and a couple of buttons, mainly to test latency.
Right now with an LCD hooked up via HDMI and just a basic USB keyboard (also tested with a USB gamepad that's lying around), the latency is not great. I've read the wiki page on lag and understand where various sources of lag come from. I have Samsung TV in Game mode, vsync=2, fast usb polling is on etc. But if a try an old shooter like Halley's Comet / 1942 when I press e.g left... the plane goes left but there still noticeable lag.
So just to rules out controller lag, is there a way to maybe wire up physical microswitches in arcade sicks directly to the GPIO pins on the board?
Or is Mister input always through USB?
As I said, I really want something like MisterCade, but as those boards seem to be in a permanent out-of-stock state of unobtainium with no sign of when I might be able to get one, I've got some waiting time.
The USB and I/O boards end up being unrealistically expensive (after exchange rate and international shipping) for things I won't need when the project is finished.
thanks!
So I'm planning a bit of a Mister build, got my DE10-nano and on the lookout for an arcade cabinet with a CRT.
Eventually I would like to use Mistercade or something similar with JAMMA, but for the time being while I'm messing around, I'd like to try just hook up an arcade stick and a couple of buttons, mainly to test latency.
Right now with an LCD hooked up via HDMI and just a basic USB keyboard (also tested with a USB gamepad that's lying around), the latency is not great. I've read the wiki page on lag and understand where various sources of lag come from. I have Samsung TV in Game mode, vsync=2, fast usb polling is on etc. But if a try an old shooter like Halley's Comet / 1942 when I press e.g left... the plane goes left but there still noticeable lag.
So just to rules out controller lag, is there a way to maybe wire up physical microswitches in arcade sicks directly to the GPIO pins on the board?
Or is Mister input always through USB?
As I said, I really want something like MisterCade, but as those boards seem to be in a permanent out-of-stock state of unobtainium with no sign of when I might be able to get one, I've got some waiting time.
The USB and I/O boards end up being unrealistically expensive (after exchange rate and international shipping) for things I won't need when the project is finished.
thanks!