improve touch functionality

This commit is contained in:
2025-07-17 12:13:42 -04:00
parent 5597899ad8
commit 8ed9e02175
4 changed files with 808 additions and 755 deletions
+2 -2
View File
@@ -97,8 +97,8 @@ uint8_t const desc_hid_report[] =
// full speed configuration
uint8_t const desc_fs_configuration[] =
{
// Config number, interface count, string index, total length, attribute, power in mA
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, 0x00, 100),
// Config number, interface count, string index, total length, attribute, power in mA - atttribute 0xa0 enables wakeup
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, 0xa0, 100),
// Interface number, string index, protocol, report descriptor len, EP In address, size & polling interval
TUD_CDC_DESCRIPTOR(ITF_NUM_CDC, 4, EPNUM_CDC_NOTIF, 8, EPNUM_CDC_OUT, EPNUM_CDC_IN, 64),