It sounds like there's a problem with the trackpad flex cable (possibly where it plugs into the top case underneath the main logic board). Double-check to make sure that all parts of the trackpad flex cable are fully connected and that the ZIF connector latches are fully latched down. This cable has to be functional and correctly installed in order for the keyboard to be functional. Good luck!