7#ifndef _HID_REPORT_PROVIDER_EVENT_H_
8#define _HID_REPORT_PROVIDER_EVENT_H_
Application Event Manager header.
Application Event Manager profiler tracer header.
#define APP_EVENT_TYPE_DECLARE(ename)
Declare an event type.
Definition app_event_manager.h:143
report_id
Identification numbers of HID reports.
Definition hid_report_desc.h:37
bool(* send_report)(uint8_t report_id, bool force)
Send report to the currently connected subscriber.
Definition hid_report_provider_event.h:61
void(* connection_state_changed)(uint8_t report_id, const struct subscriber_conn_state *cs)
Report subscriber connection state change to the HID provider.
Definition hid_report_provider_event.h:83
void(* send_empty_report)(uint8_t report_id, const void *subscriber)
Send empty report to the given subscriber.
Definition hid_report_provider_event.h:75
void(* report_sent)(uint8_t report_id, bool error)
Notify HID provider that HID report was sent to the subscriber.
Definition hid_report_provider_event.h:93
HID report provider API (used by HID state).
Definition hid_report_provider_event.h:45
const struct hid_report_provider_api * provider_api
Definition hid_report_provider_event.h:125
const struct hid_state_api * hid_state_api
Definition hid_report_provider_event.h:126
struct app_event_header header
Definition hid_report_provider_event.h:123
uint8_t report_id
Definition hid_report_provider_event.h:127
HID report provider event.
Definition hid_report_provider_event.h:122
int(* trigger_report_send)(uint8_t report_id)
Trigger sending HID report to the currently connected subscriber.
Definition hid_report_provider_event.h:109
HID state APIs (used by HID report provider).
Definition hid_report_provider_event.h:97
const void * subscriber
Definition hid_report_provider_event.h:39
uint8_t pipeline_size
Definition hid_report_provider_event.h:41
uint8_t pipeline_cnt
Definition hid_report_provider_event.h:40
Structure describing HID subscriber connection state.
Definition hid_report_provider_event.h:38