Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (16 loc) · 685 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 685 Bytes

Chrysalis API

This is a collection of libraries to make it easier to work with keyboards that support Kaleidoscope's Focus protocol.

import Focus from "@chrysalis-api/focus";
import { Model01 } from "@chrysalis-api/hardware-keyboardio-model01";

let focus = new Focus();
focus.open(Model01).then(() => {
  focus.command("help").then((response) => {
    console.log(response);
  });
});

Documentation