- C 65.5%
- C++ 34.4%
- CMake 0.1%
The penFlags in the HoverMove and ContactMove functions were not being set correctly when the button was pressed. This resulted in incorrect behavior when using a pen device. The issue has been fixed by updating the assignment of penFlags to properly handle the button press condition. |
||
|---|---|---|
| .github/workflows | ||
| test | ||
| .clang-format | ||
| .gitignore | ||
| CMakeLists.txt | ||
| docs.md | ||
| LICENSE | ||
| README.md | ||
| SynthPointer.c | ||
| SynthPointer.h | ||
SynthPointer.dll
SynthPointer.dll is a dynamic link library (DLL) for simulating pen input using the Synthetic Pointer API in Windows. It provides a set of functions that allow you to create a synthetic pointer device, manipulate its state, and inject pointer input.
Documentation
For detailed documentation of the functions and their usage, please refer to the docs file.
Building
To build the project, follow these steps:
-
Ensure you have the required dependencies:
- CMake (minimum version 3.10)
- Clang compiler
- Make
-
Clone the repository:
git clone https://github.com/Sett17/SynthPointer.dll.git -
Navigate to the project directory and create a build directory:
cd SynthPointer.dll mkdir build -
Configure the project using CMake:
cd build cmake -G "Unix Makefiles" .. -
Build the project:
make
Testing
After building, you can run the tests using:
./tests.exe
Releases
The DLL is automatically built with GitHub Actions for each tag. You can download the latest version from the releases page on GitHub.
License
The project is licensed under the Unlicense.
Contributing
Contributions are welcome. Please open an issue or submit a pull request on GitHub. We are particularly interested in contributions that would extend the functionality of the library to include touch input.