solutions on keyboard and mouse that are not working properly

Make and model of your laptop? An SKU would help. Have you tried making sure your keyboard doesn't have a key that is depressed? On another note, have you made sure you're on the latest BIOS revision for your laptop? What OS are you on?