Files
blinky/inc/events/keyboard_hid_report_event.h

30 lines
658 B
C
Raw Normal View History

#ifndef BLINKY_KEYBOARD_HID_REPORT_EVENT_H_
#define BLINKY_KEYBOARD_HID_REPORT_EVENT_H_
#include <app_event_manager.h>
#include <app_event_manager_profiler_tracer.h>
#include "keyboard_core.h"
#include "mode_switch_event.h"
#ifdef __cplusplus
extern "C" {
#endif
struct keyboard_hid_report_event {
struct app_event_header header;
enum mode_switch_mode mode;
enum keyboard_report_type report_type;
enum keyboard_protocol_mode protocol_mode;
enum hid_queue_policy queue_policy;
struct event_dyndata dyndata;
};
APP_EVENT_TYPE_DYNDATA_DECLARE(keyboard_hid_report_event);
#ifdef __cplusplus
}
#endif
#endif /* BLINKY_KEYBOARD_HID_REPORT_EVENT_H_ */