Create an USB fake keyboard using HID class
Posted: Sat Apr 18, 2026 7:43 pm
Hello,
I try to create a fake USB keyboard using HID class to control a recorder (PreMix by Sound Systems). My ESP32s3 DevKit1 works fine with my laptop but isn't registrated by the MixPre.
I used USBDeview to find out whats going on and I found some strange behaviour:
I use the socket labeld 'USB' at the DevKit and I disabled all USB functionality in the Arduino IDE, only USB OTG is active. After plugging in I see three new devices in USBDeview, a JTAG, a Serial and a keyboard. After some secondes only the keyboard is remains.
My guess: When I plug into MixPre, the same thing happens, but the firmware gets totally disturbed and just ignodred my stuff.
Is there any way to prevent JTAG and Serial to show up? I have a second USB connector for that stuff and use it for programming and for the serial monitor, no need to have this doubled.
I start developing this USB sketch using the example 'Keyboard Message.
Thanks a lot for helping.
With best regards
Gerhard
I try to create a fake USB keyboard using HID class to control a recorder (PreMix by Sound Systems). My ESP32s3 DevKit1 works fine with my laptop but isn't registrated by the MixPre.
I used USBDeview to find out whats going on and I found some strange behaviour:
I use the socket labeld 'USB' at the DevKit and I disabled all USB functionality in the Arduino IDE, only USB OTG is active. After plugging in I see three new devices in USBDeview, a JTAG, a Serial and a keyboard. After some secondes only the keyboard is remains.
My guess: When I plug into MixPre, the same thing happens, but the firmware gets totally disturbed and just ignodred my stuff.
Is there any way to prevent JTAG and Serial to show up? I have a second USB connector for that stuff and use it for programming and for the serial monitor, no need to have this doubled.
I start developing this USB sketch using the example 'Keyboard Message.
Thanks a lot for helping.
With best regards
Gerhard