I understand that the HP Pavilion Gaming Laptop 15-cx0xxx keyboard , cursor, and mouse error.
Let's try the below steps to fix the issue.
First, restart the computer and tap on F10 during restart, once on BIOS screen, move the mouse cursor around to check if it works normally,
If it does, it would confirm a software issue and you follow the below steps if it doesn't work on its a hardware failure and I would suggest a touchpad replacement.
I recommend you to uninstall any generic synaptic drivers showing up for the touchpad (if available) under hidden devices from the device manager:
Click Start, point to All Programs, point to Accessories, and then click Command Prompt.
At a command prompt, type the following command, and then press ENTER:
Type the following command a command prompt, and then press ENTER:
Troubleshoot the devices and drivers in Device Manager.
NOTE: Click Show hidden devices on the View menu in Device Manager before you can see devices that are not connected to the computer.
When you finish troubleshooting, close Device Manager.
Type exit at the command prompt.
Note that when you close the command prompt window, Window clears the devmgr_show_nonpresent_devices=1 variable that you set in step 2 and prevents ghosted devices from being displayed when you click Show hidden devices.
And then download a new version of the synaptic drivers using this link: Click here
Keep us posted,
If you would like to thank us for our efforts to help you,
Give us a virtual high-five by clicking the 'Thumbs Up' icon below, followed by clicking on the "Accept as solution" on this post,
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".