DLL to provide simplified interface for emulating stylus input in Windows
  • C 65.5%
  • C++ 34.4%
  • CMake 0.1%
Find a file
Sett17 35c0551ffa fix(SynthPointer): Fix issue with penFlags not being set correctly in HoverMove and ContactMove functions
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.
2023-08-07 02:21:46 +02:00
.github/workflows chore(workflow): update release workflow 2023-08-06 02:17:10 +02:00
test feat: add test for SynthPointer 2023-08-06 00:40:14 +02:00
.clang-format Initial commit 2023-08-01 23:08:47 +02:00
.gitignore Initial commit 2023-08-01 23:08:47 +02:00
CMakeLists.txt feat: add test for SynthPointer 2023-08-06 00:40:14 +02:00
docs.md fix(SynthPointer): Fix ScreenCount return type 2023-08-06 14:21:21 +02:00
LICENSE Initial commit 2023-08-01 23:08:47 +02:00
README.md chore: update README.md 2023-08-06 13:35:57 +02:00
SynthPointer.c fix(SynthPointer): Fix issue with penFlags not being set correctly in HoverMove and ContactMove functions 2023-08-07 02:21:46 +02:00
SynthPointer.h fix(SynthPointer): Fix ScreenCount return type 2023-08-06 14:21:21 +02:00

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:

  1. Ensure you have the required dependencies:

    • CMake (minimum version 3.10)
    • Clang compiler
    • Make
  2. Clone the repository:

    git clone https://github.com/Sett17/SynthPointer.dll.git
    
  3. Navigate to the project directory and create a build directory:

    cd SynthPointer.dll
    mkdir build
    
  4. Configure the project using CMake:

    cd build
    cmake -G "Unix Makefiles" ..
    
  5. 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.