Multi-device code example for teensy++ 2.0

Status
Not open for further replies.

poxyran

Member
Hi!, i'm new with teensy and micro controllers in general. I was looking at the code examples in the teensy website (mouse, keyboard, hid, blink) but I would like to know if it is possible to mix two devices such as a keyboard and mouse into one single device. I read something about declaring a config descriptor for each one and then using the report_id field to say which one it will be used. Is there any code example i can look at for teensy ++ 2.0?.

Thanks in advance.
 
well, just switch the boardtype to "keyboard + mouse + joystick" in menu tools/USB type..
and then you can speak to the different objects, like in the simple examples.
its that simple I guess, Paul S. allready made it.
 
Status
Not open for further replies.
Back
Top