Update for library changes
Add keyboard support
Merge pull request #14 from pcwalton/keyboard-support

Keyboard support