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

keyboardio/chrysalis-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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