qmk-via-api
qmk-via-api provides an implementation of the VIA API for QMK (Quantum Mechanical Keyboard) based keyboards. It allows developers to interact with QMK keyboards programmatically, enabling tasks such as configuring keymaps, macros, lighting effects and more.
Additionally, this library includes Python bindings for all API calls for integration of QMK keyboard configuration into Python-based applications or scripts.
Usage
Rust
Add dependency with Cargo:
Usage example:
use ;
Disable Python Bindings
The python feature flag is enabled by default. In projects that don't interoperate with Python, the Python bindings can be disabled by turning off default features. In Cargo.toml:
[]
= { = "0.3.0", = false }
Python
Install with pip:
Usage example:
=
=
=
License & Attribution
Parts of this project are based on code from the VIA project, which is licensed under the GNU General Public License v3.0.