Lines Matching full:map

27 /// Maximal length of Report Map Char. Value
116 // Report Map
450 // is this the last report map app? in hid_event_handler()
505 hidd_le_report_item_t *map = get_report_by_handle(dev, param->read.handle); in hid_event_handler() local
506 if (map && map->handle == param->read.handle) { in hid_event_handler()
507 …dex, esp_hid_usage_str(map->usage), esp_hid_report_type_str(map->report_type), esp_hid_protocol_mo… in hid_event_handler()
530 hidd_le_report_item_t *map = get_report_by_handle(dev, param->write.handle); in hid_event_handler() local
531 if (map) { in hid_event_handler()
532 if (param->write.handle == map->ccc_handle) { in hid_event_handler()
533 map->ccc.value = param->write.value[0]; in hid_event_handler()
534map->usage), esp_hid_report_type_str(map->report_type), esp_hid_protocol_mode_str(map->protocol_mo… in hid_event_handler()
536 …%d", esp_hid_usage_str(map->usage), esp_hid_report_type_str(map->report_type), esp_hid_protocol_mo… in hid_event_handler()
554 if (map->report_type == ESP_HID_REPORT_TYPE_OUTPUT) { in hid_event_handler()
556 p_cb_param->output.report_id = map->report_id; in hid_event_handler()
557 p_cb_param->output.usage = map->usage; in hid_event_handler()
564 p_cb_param->feature.report_id = map->report_id; in hid_event_handler()
565 p_cb_param->feature.usage = map->usage; in hid_event_handler()
583 hidd_le_report_item_t *map = get_report_by_handle(dev, param->set_attr_val.attr_handle); in hid_event_handler() local
584 if (map && map->handle == param->set_attr_val.attr_handle) { in hid_event_handler()
585 …dex, esp_hid_usage_str(map->usage), esp_hid_report_type_str(map->report_type), esp_hid_protocol_mo… in hid_event_handler()
684 //raw report map in ble_hid_init_config()
685 uint8_t *map = (uint8_t *)malloc(config->report_maps[d].len); in ble_hid_init_config() local
686 if (map == NULL) { in ble_hid_init_config()
687 ESP_LOGE(TAG, "report map malloc(%d) failed", config->report_maps[d].len); in ble_hid_init_config()
690 memcpy(map, config->report_maps[d].data, config->report_maps[d].len); in ble_hid_init_config()
692 dev->devices[d].reports_map.data = (const uint8_t *)map; in ble_hid_init_config()