29 lines
582 B
C
29 lines
582 B
C
|
|
#ifndef BLINKY_HID_TX_REPORT_EVENT_H_
|
||
|
|
#define BLINKY_HID_TX_REPORT_EVENT_H_
|
||
|
|
|
||
|
|
#include <app_event_manager.h>
|
||
|
|
#include <app_event_manager_profiler_tracer.h>
|
||
|
|
|
||
|
|
#include "keyboard_core.h"
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
struct hid_tx_report_event {
|
||
|
|
struct app_event_header header;
|
||
|
|
enum hid_transport transport;
|
||
|
|
enum keyboard_report_type report_type;
|
||
|
|
enum keyboard_protocol_mode protocol_mode;
|
||
|
|
uint16_t sequence;
|
||
|
|
struct event_dyndata dyndata;
|
||
|
|
};
|
||
|
|
|
||
|
|
APP_EVENT_TYPE_DYNDATA_DECLARE(hid_tx_report_event);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif /* BLINKY_HID_TX_REPORT_EVENT_H_ */
|