anne-pro

0.1.0 • Public • Published

node-anne-pro

npm version

Node.js 8 library for interacting with the Anne Pro keyboard

IMPORTANT: currently it only works in macOS

Current Features:

  • set keyboard lighting mode

Roadmap:

  • Layouts
  • Macros

Install

npm install anne-pro

Usage

const AnneProKeyboard = require('../index');
 
new AnneProKeyboard().connect().then(kb => {
  // sets the rain effect
  console.log('setting Rainbow effect');
  kb.setLightingMode(AnneProKeyboard.LightingModes.Rainbow);
  process.exit(0);
});

Credits

This library relies on a modified version of Sandeep Mistry's node-core-bluetooth library that can be found here.

The code is written based on the Swift code written by Michiel Visser for the AnnePro-mac app, which is awesome!

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i anne-pro

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • fcoury