Please do not type huge text. It is obnoxious and rude.
I am going to assume when you say both mouse and touchpad you mean an external mouse was connected and you still got the same problem.
- Go into "Control Panel".
- Click "Hardware and Sound".
- Now click "Mouse and Touchpad".
- Now go to "Additional mouse options".
- The Mouse Properties window will open. In here click on your device.
- Check all the settings and make sure nothing is set to turn off. It happens.
Also, you might want to check for updates to your drivers, including the Synaptics driver (if your device uses one).
Should you still have the problem, then try starting the computer in "Safe Mode" and see if those options work in there. If they do, then it is a software issue. Something on the computer is causing the problem and you will need to locate and remove it. However, if it still does this even in "Safe Mode", then you should have the laptop looked at.
How to enter "Safe Mode" when booting the computer.
In Windows 8 and 10...
As your computer restarts, press F8 (possibly a few times) to enter "Safe Mode"
a. Press the "F4" key to Enable "Safe Mode".
(The computer will then start in "Safe Mode" with a minimal set of drivers and services.)
b. Press the "F5" key to Enable "Safe Mode" with Networking.
( Once "Safe Mode" with Networking starts, Windows is in Safe Mode, with additional network and services for accessing the Internet and other computers on your network.)
c. Press the "F6" key to Enable "Safe Mode" with Command Prompt.
(In "Safe Mode" with "Command Prompt" starts Windows in Safe Mode, with a Command Prompt window instead of the Windows interface. This option is mostly only used by IT professionals.)
Now sign in to the computer with your account name and password. (If you have one set.) When you are finished troubleshooting, you can exit "Safe Mode" restarting your computer.
In Windows 7/Vista/XP...
1. Immediately after turning on the computer, or restarting it (usually after you hear your computer beep), tap the F8 key, repeatedly, in 1 second intervals.
2. The computer will then display hardware information and run a memory test.
3. Next the "Advanced Boot Options" menu will appear.
4. In the "Advanced Boot Options" menu use the arrow keys to select "Safe Mode" or "Safe Mode with Networking" and press ENTER.