Send Data From PC to Teensy 2.0 HID Keyboard

Status
Not open for further replies.

pmck

New member
Hey,

I have a teensy 2.0 acting as a USB keyboard/media controller. I would like to be able to send data from the pc to the teensy over USB to send data about the computers audio mute state to update an RGB led to red while muted.

I have a small C++ program running on the pc that detects the mute status. What steps need to be taken to send that data from the pc to the teensy while not affecting the HID communication of the teensy to the pc?

Can usb serial be used while running in hid mode?
 
Under windows you can open and writing data to a USB HID device, but you can't open and write data to HID keyboard and mouse. It's a limitation of Windows.

But you can use keyboard status led as a message. Ex. Scroll lock on as mute......

http://www.lab-z.com/leoout/
 
Status
Not open for further replies.
Back
Top