The result is a quite unusable tablet.Īs there is no officially documented way to disable the USB HID keyboard emulation in Arduino, I made a quick patch to the core libraries. To our surprise, when Android detects an external USB keyboard, it disables by default its own virtual keyboard (!).
The Arduino core libraries will always report the same hardwired USB HID report descriptor to the USB host.Whether you need to use the USD HID emulation or not, the related code is always compiled and 'active', wasting some of your precious Flash memory.Some days ago, while crafting a quick prototype on top of an Arduino Leonardo board, we noticed that the USB HID emulation part of the core (Arduino) libraries was always enabled.