When at home I opened it and found the keyboard to employ some kind of circuit printed on foil which was blugged into the main board through a plug-in connector.
Because I couldn't find an identical connector to purchase online I figured I could just desolder it from the PCB. Well, turns out I couldn't. To get it free you probably need to heat up all 20-something pins at the same time which I couldn't figure out how to do with the simple soldering iron I had. So I bought a fretsaw and got rid of the PCB piece by piece!


Then I bought a Teensy microcontroller, soldered a bunch of pinheaders to it and a complementary bunch of pinheaders to the connector I hijacked from the PCB.
From now on it was basically a coding job. Just apply some voltage to a pin and check all other pins if there's some measurable current. After a bit of coding and logging data through the handy Keyboard.print() command I had the keyboard matrix figured out. The only major hurdle was, that there were a short circuit... the keyboard behaved like the Escape key was pressed all the time. But by carfully seperating the foil with the circuits and cleaning it in that area that problem was resolved.
It still took me a while to come up with a program that would allow me to map all buttons correctly because the keyboard layout is far from standard. And I still haven't figured out what the button in the lower right corner is supposed to mean! But this evening I got it working. And the code isn't even a big mess (180 lines of codes most of it lookup tables) so I'm quite happy. Would have never expected microcontrollers to be so convenient and flexible. I'm sure this won't be my last project ivolving one. (It was my first, though^^)
The downside is that now that I got it working I know that it isn't exactly what I went to the flea market for: a nice mechanical keyboard fit for every day use. I'll never get used to that layout. And while the caps are beautiful and sturdy typing feels a little weird.
So, if anyone reading this wants to trade the McGyver-Atari-Keyboard for some other keyboard (or a set of keycaps for my Ducky Zero) I'm willing to trade!

(Yeah that was a stupid project but I had fun
