My Apple Pro keyboard (the black/graphite one) failed (entire middle row stopped working) and after going through an extreme cleaning under water and lots of soap and brushing and loosing the rubber plungers (it was very dirty), it still didn't work. So I just kept out the logic board and out the rest together and put it away. I kept out the logic board and the metal logic board casing.
I lined the inside of the metal casing with e.tape (electrical tape) and placed the logic board in it, with the protruding components faced inwards.
I attached the rubber block, which holds the cable in place, to the metal eye-ring thing using a thumbtack.
The USB ports, I put the base/ring whatever on the inside rather than the outside where it usually goes, so that it's more secure.
I covered the contacts, which connect to the keyboard circuitry, with e.tape.
Then I wrapped the whole assembly in e.tape.
Now it is a USB hub!
It is very useful for me even though it only adds one USB port 
I lined the inside of the metal casing with e.tape (electrical tape) and placed the logic board in it, with the protruding components faced inwards.
I attached the rubber block, which holds the cable in place, to the metal eye-ring thing using a thumbtack.
The USB ports, I put the base/ring whatever on the inside rather than the outside where it usually goes, so that it's more secure.
I covered the contacts, which connect to the keyboard circuitry, with e.tape.
Then I wrapped the whole assembly in e.tape.
Now it is a USB hub!