Set poll interval to 2ms

Because why not
This commit is contained in:
Spacehuhn 2023-06-21 16:48:11 +02:00
parent 623820a7b4
commit ef4e77edd5
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ namespace hid {
// ====== PUBLIC ====== //
void init() {
// Notes: following commented-out functions has no affect on ESP32
// usb_hid.setBootProtocol(HID_ITF_PROTOCOL_KEYBOARD);
// usb_hid.setPollInterval(2);
usb_hid.setBootProtocol(HID_ITF_PROTOCOL_KEYBOARD);
usb_hid.setPollInterval(2);
// usb_hid.setReportDescriptor(desc_hid_report, sizeof(desc_hid_report));
// usb_hid.setStringDescriptor("TinyUSB Keyboard");