PDA

View Full Version : Accessing virtual serial in Keyboard + Mouse + Joystick mode?



djsz
11-15-2012, 12:37 PM
I'm thrilled to have Keyboard USB mode functioning since that's one of the key remaining functions I needed to port over a Teensy 2.0 project to Teensy 3.0. However, in doing the port I added a feature that reads input from the USB "Serial" port sent from the computer to the Teensy 3.0. When programming the T3 in Serial mode I can send input using any terminal program; however, when in Keyboard mode the COM port no longer shows in my Windows 7 Device Manager.

Is there a way to send and receive serial data to the Teensy 3.0 when it is programmed in Keyboard mode from outside of the Arduino IDE? The IDE works fine and I can send/receive from the Arduino Serial Monitor just fine. I need send data from a separate script.

One thing I noticed on the Teensy 2.0 is that there's a separate USB mode: both "Keyboard + Mouse + Joystick" and "Serial + Keyboard + Mouse + Joystick" are supported modes. Perhaps this is an upcoming feature?

PaulStoffregen
11-15-2012, 06:32 PM
Yes, I'm definitely planning to implement Serial+Keyboard+Mouse+Joystick on Teensy 3.0.