@bazecor-api/focus
v0.0.7
Published
Bazecor Focus protocol library
Downloads
16
Readme
@bazecor/focus
This is the heart of the Bazecor libraries, the one thing that binds
everything together. It implements the Focus
protocol used by
Kaleidoscope for bi-directional communication, and on top of that, it
provides hooks and methods to build complex applications on top.
import Focus from "@bazecor/focus";
import { Model01 } from "@bazecor/hardware-keyboardio-model01";
let focus = new Focus();
focus.open(Model01).then(() => {
focus.command("help").then((response) => {
console.log(response);
});
});