Cylon module for Keyboard

Cylon.js For Keyboard Input

Cylon.js ( is a JavaScript framework for robotics, physical computing, and the Internet of Things (IoT).

This repository contains the adaptor/driver for keyboard input. It uses the hybridgroup fork of the keypress module created by @TooTallNate thank you!

Want to use Ruby on robots? Check out our sister project Artoo (

Want to use the Go programming language to power your robots? Check out our sister project Gobot (

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

$ npm install cylon cylon-keyboard
var Cylon = require('cylon');
  connections: {
    keyboard: { adaptor: 'keyboard' }
  devices: {
    keyboard: { driver: 'keyboard' }
  workfunction(my) {
    my.keyboard.on('a', function(key) {
      console.log("A PRESSED!");

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

We're busy adding documentation to our web site at please check there as we continue to work on Cylon.js

Thank you!

For our contribution guidelines, please go to .

For the release history, please go to .

Copyright (c) 2013-2015 The Hybrid Group. Licensed under the Apache 2.0 license.