Lines Matching full:map

35 /// Maximal length of Report Map Char. Value
121 // Report Map
140 uint8_t map_index; //the index of the report map
145 uint16_t value_len; //maximum len of value by report map
474 // is this the last report map app? in hid_event_handler()
529 hidd_le_report_item_t *map = get_report_by_handle(dev, param->read.handle); in hid_event_handler() local
530 if (map && map->handle == param->read.handle) { in hid_event_handler()
531 …dex, esp_hid_usage_str(map->usage), esp_hid_report_type_str(map->report_type), esp_hid_protocol_mo… in hid_event_handler()
554 hidd_le_report_item_t *map = get_report_by_handle(dev, param->write.handle); in hid_event_handler() local
555 if (map) { in hid_event_handler()
556 if (param->write.handle == map->ccc_handle) { in hid_event_handler()
557 map->ccc.value = param->write.value[0]; in hid_event_handler()
558map->usage), esp_hid_report_type_str(map->report_type), esp_hid_protocol_mode_str(map->protocol_mo… in hid_event_handler()
560 …%d", esp_hid_usage_str(map->usage), esp_hid_report_type_str(map->report_type), esp_hid_protocol_mo… in hid_event_handler()
563 if (map->report_type == ESP_HID_REPORT_TYPE_OUTPUT) { in hid_event_handler()
565 cb_param.output.report_id = map->report_id; in hid_event_handler()
566 cb_param.output.usage = map->usage; in hid_event_handler()
573 cb_param.feature.report_id = map->report_id; in hid_event_handler()
574 cb_param.feature.usage = map->usage; in hid_event_handler()
587 hidd_le_report_item_t *map = get_report_by_handle(dev, param->set_attr_val.attr_handle); in hid_event_handler() local
588 if (map && map->handle == param->set_attr_val.attr_handle) { in hid_event_handler()
589 …dex, esp_hid_usage_str(map->usage), esp_hid_report_type_str(map->report_type), esp_hid_protocol_mo… in hid_event_handler()
688 //raw report map in ble_hid_init_config()
689 uint8_t *map = (uint8_t *)malloc(config->report_maps[d].len); in ble_hid_init_config() local
690 if (map == NULL) { in ble_hid_init_config()
691 ESP_LOGE(TAG, "report map malloc(%d) failed", config->report_maps[d].len); in ble_hid_init_config()
694 memcpy(map, config->report_maps[d].data, config->report_maps[d].len); in ble_hid_init_config()
696 dev->devices[d].reports_map.data = (const uint8_t *)map; in ble_hid_init_config()