jfedor2 / flatbox

Low profile hitbox-layout fightstick
662 stars 135 forks source link

Flatbox detected, buttons presses not registering #25

Closed MorroMorro closed 1 year ago

MorroMorro commented 1 year ago

Hi J,

Put a switch on the board to test. I added the firmware just fine. Windows is detecting it as flatbox rev4.

Was detecting the button press just fine and then suddenly stopped. Now I've tried 3 boards, 5-6 switches, and non register the button presses. It was working then all of a sudden stopped, so I don't think it's a hardware issue. Any ideas I can try to troubleshoot this issue?

When I pull up the controller as a drive, should the uf2 file still be there? When I add it, it closes the drive. If I reopen it and it's no longer present. Not sure if that's as intended.

jfedor2 commented 1 year ago

Yeah, the UF2 file copying works as you described, that's normal.

Are you testing the buttons in joy.cpl?

Have you tried alternative firmware like GP2040?

MorroMorro commented 1 year ago

Morning J. Yeah, I've been testing in joy.cpl. Flatbox looks amazing btw.

Will try alternate firmware and report back. For GP2040, hate to bother but I'm terrible at this stuff, do I just drop all the files and src folder from https://github.com/jfedor2/flatbox/tree/master/firmware-rp2040 onto the controller "drive"?

EDIT: I have wasted your time. Still using flatbox-rev4 firmware. Added some more switches, some work and others don't. I think I may be installing them wrong, swapped jump out for another switch and it worked.

EDIT 2: It was me, I'm an idiot. Works perfectly. I just hadn't applied enough pressure to the hotswaps I guess.

Going to put together a YT video of building one from scratch unless that's an issue for you. Phenomenal work on this. Gonna make a few for my friends for xmas. Where can I contribute a few bones for you?

MorroMorro commented 1 year ago

No issue at all. I'm just bad at applying switches. J is a hero.

jfedor2 commented 1 year ago

Glad to hear you got it working.

For future reference, the alternative GP2040 firmware can be downloaded from here:

https://github.com/FeralAI/GP2040/releases/download/v0.4.3/GP2040-FlatboxRev4_v0.4.3.uf2

And then you flash it the same way.

Let me know when you make the video!