Output USB keyboard values from Prop?
T Chap
Posts: 4,223
Can this be done? I am thinking about a way to create my own buttons for a special function keyboard that outputs the hex values just like the new Mac keyboards (buttons F1-F19). How can the Prop get recognized as a keyboard in OSX 10.8/9?
Comments
That should work without needing any special driver installations.
http://forums.parallax.com/showthread.php/97027-California-Dreamin
I don't know whether it would work with a mac. BradC was a mac user though (think BST) so it probably does
BTW I just want to have the Prop show up as a typical keyboard and create my own buttons and assign them to F keys.
https://learn.adafruit.com/trinket-usb-keyboard
Would take a bit of work though to interface it with the Propeller.
The adafruit trinket linked above uses the attiny85 "The device achieves a throughput of 20 MIPS at 20 MHz". It looks very similar to Brads circuit with 68R and 1.5K.
I would think so, as the LEDs are driven from the PC.
Oops, I miss-remembered the CP2110 HID details, it says this in the data
Note: The CP2110 devices will not enumerate as a standard HID mouse or keyboard. - bummer.
However, google finds this, which may help
http://forums.parallax.com/showthread.php/138549-C-Prop-Serial-Boot-loader-example-for-the-Silabs-CP2110
This looks like it is going to let me send data from the Prop to my app and have the app press any key plus other cool stuff.
On another forum
Nifty, and a virtual keyboard obvious when you see it
The CP2110 will avoid users needing any driver installation, if that detail matters.
Edit just tested OSX 10.9.5 with BST and no FTDI driver installed and it worked right away. Tested my own GUI prop loader with BSTL and it worked fine.
Edit I downloaded the CP2110 example application, it looks like if you know C then there are all the code parts included that you need to make your own app for communication.