Crates.io | kpal-plugin |
lib.rs | kpal-plugin |
version | 0.2.2 |
source | src |
created_at | 2019-12-14 10:28:50.662699 |
updated_at | 2020-03-08 07:32:05.789614 |
description | A library for writing new KPAL plugins |
homepage | |
repository | https://github.com/kmdouglass/kpal |
max_upload_size | |
id | 189326 |
size | 55,796 |
A library that lets you incorporate new peripherals into KPAL.
kpal-plugin
provides the data types and functions that allow you to write your own plugin for
KPAL. A plugin provides the common interface between the KPAL daemon and a specific peripheral. You
expose functions through the library that are part of the plugin API, and these in functions call
your own custom code that work with your peripheral.
Plugins are implemented as shared libraries (.so
files on Linux).
Check out the examples for ideas on how to write a plugin.