Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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++.
- Host: GitHub
- URL: https://github.com/sbplat/macro-api
- Owner: sbplat
- License: bsd-3-clause
- Created: 2022-10-10T01:49:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-25T22:43:37.000Z (almost 2 years ago)
- Last Synced: 2023-05-04T05:44:33.315Z (over 1 year ago)
- Topics: api, cross-platform, keyboard, linux, macos, macro, mouse, scripting, windows
- Language: C++
- Homepage:
- Size: 494 KB
- Stars: 15
- Watchers: 2
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
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)*