-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading from a keyboard? #170
Comments
Yes, you should be able to use something like node-hid to read data events from the USB stack . |
@HipsterBrown thanks! Does node-hid support the tessel platform? |
Yes, we have compiled binaries for the native dependencies of node-hid version 0.5.4 to work on Tessel's architecture (mipsel). I can push compiled binaries for the latest release of |
@HipsterBrown thanks, does that mean I have to wait to use node-hid until that binary is released? |
@danawoodman No. If you install version 0.5.4 ( |
I installed that version and setup their "hello world": const HID = require('node-hid')
const devices = HID.devices()
console.log('DEVICES:', devices) Getting this with a keyboard connected: node: can't resolve symbol 'libiconv_open' If I unplug the keyboard I get and empty array (which makes sense) Any ideas? |
@HipsterBrown do you have time to push the |
@danawoodman I've cross compiled v0.7.2 and uploaded it just now |
I updated to the newest version but I am still getting:
With this code: const hid = require('node-hid')
console.log(hid.devices()) Any suggestions? |
Has anyone ever been able to get |
Is it possible to read from a keyboard connected to the USB port?
I would like to use a USB RFID reader that sends data over as a keyboard. Is this possible?
The text was updated successfully, but these errors were encountered: