Hi Reuben,
Connect a USB mouse first before doing anything else.
Then try completely uninstalling the Touch Pad software using something like:
http://www.majorgeeks.com/files/details/iobit_uninstaller.html
IObit's Uninstaller. Do the "Powerful Scan" as well, after the initial uninstall?
Reboot and reinstall with latest Synaptics TouchPad Driver v.16.5.3.3:
http://support.hp.com/us-en/drivers/selfservice/HP-ENVY-m6-Notebook-PC-series/5330543/model/5359749
If that doesn't work well then replace hardware.
After 32 years experience my instinct says driver problem. Had same problem on both my Notebook and my NetBook. Did as above and Touch Pad was back in operation.
Regards, Mike