Skip to content

Cross-platform C++ library for injection and consumption of input

License

Notifications You must be signed in to change notification settings

szymonj99/OneLibrary

Repository files navigation

OneLibrary - Cross-Platform Input Hooking Library

OneLibrary is a C++ library that allows you to more easily create applications that interact with user input.

Examples

See examples. TODO: Add examples here as well as the docs.

How To Use

  • Using CPM by adding CPMAddPackage("gh:szymonj99/OneLibrary#{COMMIT_HASH_HERE}")
  • Your own way of adding a C++ library of choice

License

See the license file (subject to change)

Project Structure

./inlude - The header files
./src    - The source files
./tests  - The test files

Get Started - CMake Build

git clone https://github.com/szymonj99/OneLibrary
cd OneLibrary
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release

CMake Files Style

  • Use TRUE and FALSE rather than ON or OFF

Testing Framework

Read more about which dependency was chosen here

Projects Using This Library

Developing With Local Changes

If you want to make changes to this library, you can test these changes locally. For example, if you have a project that uses this as a dependency through CPM, you can instead do the following:

  1. git clone [email protected]:szymonj99/OneLibrary.git one level up from your current project
  2. Add CPMAddPackage(NAME OneLibrary PATHS ../OneLibrary) to your CMakeLists.txt to add in the dependency from local files. For further information, see this.

About

Cross-platform C++ library for injection and consumption of input

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published