Building a 3270 M122 with QMK
Posted: 01 Jun 2021, 18:31
Starting a separate thread here, since I'm finally getting to sink my teeth into the project.
I'm looking to build up two 3270-layout M122s, one for my desk and one for a project. The second will have a Raspberry Pi built in, as well, and will be basically a complete computer in a keyboard - running mainframe software via the Hercules emulator. As part of this, I'm going to be building up a couple of M122s with QMK. The idea is that they'll act like a regular PC keyboard (though true to the key labeling, which varies a bit from the usual PC layout) normally, but when a TN3270 program like x3270 gains control, it'll automatically switch into as faithful an emulation of a real 3270 keyboard as I can get, via a layer switch in QMK.
I'd originally planned to use a Teensy++ 2.0 for the keyboard controller, and have one built up and programmed and running. The impending demise of the 8-bit AVR controllers has me rethinking that plan. I've got a Teensy 3.5, but it's not directly supported by QMK. I'm starting to look at some of the alternatives, and rapidly running into a bewilderment of riches. What's the current thinking on controller hardware? I'm not looking to do a complete custom PCB, but rather a carrier board that a rebuilt controller like the Teensy or the BlackPill can be soldered to. I need 28 digital I/O lines, minimum, and that's without LEDs or sound or anything else.
Also, anyone have a complete set of 3270 keycaps? I've got one M122 with a 5250 data entry layout, and can repurpose that one if I can get a good set of keycaps for it.
I'm looking to build up two 3270-layout M122s, one for my desk and one for a project. The second will have a Raspberry Pi built in, as well, and will be basically a complete computer in a keyboard - running mainframe software via the Hercules emulator. As part of this, I'm going to be building up a couple of M122s with QMK. The idea is that they'll act like a regular PC keyboard (though true to the key labeling, which varies a bit from the usual PC layout) normally, but when a TN3270 program like x3270 gains control, it'll automatically switch into as faithful an emulation of a real 3270 keyboard as I can get, via a layer switch in QMK.
I'd originally planned to use a Teensy++ 2.0 for the keyboard controller, and have one built up and programmed and running. The impending demise of the 8-bit AVR controllers has me rethinking that plan. I've got a Teensy 3.5, but it's not directly supported by QMK. I'm starting to look at some of the alternatives, and rapidly running into a bewilderment of riches. What's the current thinking on controller hardware? I'm not looking to do a complete custom PCB, but rather a carrier board that a rebuilt controller like the Teensy or the BlackPill can be soldered to. I need 28 digital I/O lines, minimum, and that's without LEDs or sound or anything else.
Also, anyone have a complete set of 3270 keycaps? I've got one M122 with a 5250 data entry layout, and can repurpose that one if I can get a good set of keycaps for it.