I think it would work fine, but I don't know the
matrix for a TRS80
Her's the model 4 one, the model 3 is similar but some keys are missing
@ H P X 0 8 Enter LShift
A I Q Y 1 9 Clear RShift
B J R Z 2 : Break Ctrl
C K S 3 ; Up Caps
D L T 4 , Down F1
E M U 5 - Left F2
F N V 6 . Right F3
G O W 7 / Space
The 8 columns are the input to the matrix, driven my open-collector
inverters from the system address lines. The 8 rows are the inputs to the
3-state buffer, pulled up by resistors on the CPU board.
The keyboard is conencted via a 20 pin header. The pinout is :
C1 o o C0
C3 o o C2
C5 o o C4
C7 o o C6
R1 o o R0
R3 o o R2
R5 o o R4
R7 o o R6
Rst NC o o Not used
Rst NO o o Rst Com - Ground
The rest button is a changeober switch wired with the common to ground
and the other 2 pins to NC (normally closed) and NO (Normally open). In
fact the normally closed contact is not used on the M4 CPU board I've got.
-tony