Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sbplat/macro-api

Cross-platform Macro API for C++.
https://github.com/sbplat/macro-api

api cross-platform keyboard linux macos macro mouse scripting windows

Last synced: about 1 month ago
JSON representation

Cross-platform Macro API for C++.

Awesome Lists containing this project

README

        





Macro API



Macro API


Cross platform Macro API for C++.


Features
Planned Features
Usage
Contributing
License

## 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:
```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:
```cpp
#include // Namespace: Macro
```

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

## Contributing

See our [Contributing Guidelines](CONTRIBUTING.md).

## License

This project is licensed under the [BSD 3-Clause License](LICENSE).

# Our Amazing Contributors ❤️

Thanks to these amazing people for contributing to this project:



*list generated by [contrib.rocks](https://contrib.rocks)*