0.1.0 • Published 6 years ago
anne-pro v0.1.0
node-anne-pro
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
0.1.0
6 years ago