10 years, 6 months ago.  This question has been closed. Reason: no longer need it answerd.

Can KL25Z do USBMouseKeyboard and USBSerial simultaneously?

The title pretty much sums up my question.

I can get the KL25Z to behave as a serial port using USBSerial.h and as a Mouse/Keyboard with USBMouseKeyboard.h separately but if I try to include and use both header files at the same time, it does not work.

I suspect that'd be because the USB vendor and product ID are included in each header file.

Is there any way to make the KL25Z have both device classes operating at the same time over the same USB connection with the standard drivers? Or is the low level HID require with a custom driver on the host PC side?

Thanks.