Good Day Shuppy,
If the keyboard works using a different device you may consider to perform clean installation, save all your important files in a external drive to prevent data loss and proceed with clean installation.
Visit this link as reference.
https://answers.microsoft.com/en-us/insider/for...
Have a wonderful day ahead and stay safe.
Sincerely,
Carlo T.