While this would require some custom coding at the computer end, I think, because it would be impractical to handle it all by shuffling scan codes around, unless one knew it was to be used with the U.S. layout only...
-------------------------------------------------------
| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | { | } | | |
|Tab| Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |
-------------------------------------------------------
|Bk | + | - | * | $ | _ | ! | ( | ) | = | : | " | |
|Spc| A | S | D | F | G | H | J | K | L | ; | ' |Enter |
-------------------------------------------------------
| | ~ | @ | # | ` | % | ^ | & | < | > | ? | |
|Shift | Z | X | C | V | B | N | M | , | . | / |Shift |
------------------------------------------------------
| | | | | |A |1 |1 | |
|Ctl|Fn |Alt| | |a |a |A |Fn |
----------------------------------------------------
one can get even smaller than the HHKB.
A three-bank keyboard, like on very old typewriters.
But instead of a figures shift, there's only one shift key in the normal position.
There are three keys, marked Aa, 1a, and 1A, that set what the shift key does.
With Aa, you type small letters, and the shift key gives you capitals.
With 1a, you type small letters, and the shift key gives you punctuation marks.
With 1A, you type capital letters, and the shift key gives you punctuation marks.
However, when in 1a mode, the left half of a split spacebar is also useful. That puts you in Aa mode just for the next shifted character you type.
Note that the punctuation keys to the right of the keyboard just shift normally.
You get one control key, one Alt key, but two Fn keys. Note that backspace, on the lopped-off fourth row, replaces Caps Lock.