Thank you for visiting the HP Support Forums and Welcome. It is a great site for information and questions. I have looked into your issue about your HP Notebook and issue with the keyboard and mouse not working correctly. I would uninstall the keyboard and mouse, restart the Notebook. Here is a link to keyboard troubleshooting.
Here is a link to the HP Support Assistant if you need it. Just download and run the application and it will help with the original software and drivers on your system.
Here is a link to Touchpad troubleshooting. The section marked TouchPad properties page on the left side has a restore defaults. Select that button if available.
Hope this helps.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos, Thumbs Up" on the bottom left to say “Thanks” for helping.:smileyhappy: