Macbook air built-in keyboard/trackpad only work at login screen
The built-in keyboard and trackpad have become unresponsive on my 2013 refurbished macbook air. When I restart it, everything works normally at the login screen, but becomes unresponsive again once I've logged in. The computer works fine with external inputs or a shared screen.
I've recently updated to yosemite. The fact that everything works up until login makes me think this is a software problem. I've tried all the troubleshooting steps listed here, and I've reset PRAM and SMC. Does anyone know what could be causing this?
MacBook Air, OS X Yosemite (10.10.1)