Besides bad connection, broken switch, broken electrical connection, and more, not updating your keyboard driver could be one of the reasons behind your inactive keyboard keys. It is recommended to download and update a keyboard driver following the steps mentioned in this article to make sure your keyboard keys function correctly