I have the same problem! I have an HP Pavilion with Windows 10. The keyboard stopped working a while ago, all keys except for the function keys. Sometimes, it started typing ************ all of a sudden until I pressed another key.
Sometimes I turn it off and it works again, but stops working...