1
0
mirror of https://github.com/whowechina/chu_pico.git synced 2025-01-19 01:34:03 +01:00

Temporary disable nkro report

This commit is contained in:
whowechina 2023-09-16 10:57:39 +08:00
parent ed1af36ef6
commit 2f31842136

View File

@ -52,7 +52,7 @@ void report_usb_hid()
tud_hid_n_report(0x00, REPORT_ID_JOYSTICK, &hid_joy, sizeof(hid_joy)); tud_hid_n_report(0x00, REPORT_ID_JOYSTICK, &hid_joy, sizeof(hid_joy));
if (memcmp(&hid_nkro, &sent_hid_nkro, sizeof(hid_nkro)) != 0) { if (memcmp(&hid_nkro, &sent_hid_nkro, sizeof(hid_nkro)) != 0) {
sent_hid_nkro = hid_nkro; sent_hid_nkro = hid_nkro;
tud_hid_n_report(0x02, 0, &sent_hid_nkro, sizeof(sent_hid_nkro)); //tud_hid_n_report(0x02, 0, &sent_hid_nkro, sizeof(sent_hid_nkro));
} }
} }
} }