Platforms

Artoo has a extensible system for connecting to hardware devices.

Keyboard


Repository Issues

The Artoo adaptor for keyboard input.

How To Install

Installing artoo with a keyboard support is pretty easy using ruby gems.

gem install artoo-keyboard

How To Use

require 'artoo'

connection :keyboard, adaptor: :keyboard
device :keyboard, driver: :keyboard, connection: :keyboard

work do
  on keyboard, :key => :keypress
end

def keypress(sender, key)
  puts key
end

Drivers

Available drivers for the keyboard platform are listed below.