This is a small C++ program that adds gravity to the mouse cursor on a Windows system. The program constantly updates the position of the cursor based on a gravity force and the current velocity vector.
- Windows operating system
- Clone the repository or download the source code file.
- Open the source code file (
gravity.cpp
) in a C++ IDE or text editor. - Compile and run the program using a C++ compiler.
- The program will add gravity to the mouse cursor, causing it to fall downwards.
- Press
Ctrl+C
to exit the program.
This project is licensed under the MIT License.