Repository| Issues

The Cylon adaptor for keyboard input.

For more info about keyboards, click here.

How to Install

Installing cylon.js with a keyboard support is pretty easy.

$ npm install cylon cylon-keyboard

How to Use

var Cylon = require('cylon');

  connections: {
    keyboard: { adaptor: 'keyboard' }

  devices: {
    keyboard: { driver: 'keyboard' }

  work: function(my) {
    my.keyboard.on('a', function(key) {
      console.log("A PRESSED!");

How to Connect

All that you need to do is plug the keyboard into your computer as usual.


Available drivers for the keyboard platform are listed below.