If your keyboard is not detected just try to install the drivers first and check if there is problem with your drivers, if this did not solve your problem then troubleshoot keyboard issue is recommended.