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 KeyboardApi;
const PRODUCT_VID: u16 = 0x594D;
const PRODUCT_PID: u16 = 0x604D;
const USAGE_PAGE: u16 = 0xff60;
Python
Install with pip:
Usage example:
= 0x594D
= 0x604D
= 0xff60
=
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.