/Macro-API

Cross-platform Macro API for C++.

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause


Macro API
Macro API

Cross platform Macro API for C++.

FeaturesPlanned FeaturesUsageContributingLicense

Features

  • Cross platform (only Windows at the moment)
  • Easy to use
  • Full keyboard and mouse control
  • Get keyboard and mouse states
  • Open source

Planned Features

  • Mac and Linux support
  • More examples and documentation
  • More control over your keyboard and mouse
  • Image searching

Usage

Integrate using CMake:

include(FetchContent)
FetchContent_Declare(
    macro
    GIT_REPOSITORY https://github.com/sbplat/Macro-API.git
    GIT_TAG main  # or whatever tag/commit you want to use
)
FetchContent_MakeAvailable(macro)

include_directories(${macro_SOURCE_DIR}/include)
# Add your source files here (ex. add_executable(${PROJECT_NAME} main.cpp))
target_link_libraries(${PROJECT_NAME} macro)

Then, in your code:

#include <macro/macro.h>  // Namespace: Macro

Refer to the examples and documentation for a more in-depth look at how to use the API.

Contributing

See our Contributing Guidelines.

License

This project is licensed under the BSD 3-Clause License.

Our Amazing Contributors ❤️

Thanks to these amazing people for contributing to this project:

list generated by contrib.rocks