2020-09-09 13:26:00 +10:00
|
|
|
/*
|
2020-10-13 04:03:10 +11:00
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
2020-09-09 13:26:00 +10:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <zephyr.h>
|
|
|
|
#include <zmk/event-manager.h>
|
|
|
|
#include <device.h>
|
|
|
|
|
|
|
|
#include <zmk/ble/profile.h>
|
|
|
|
|
|
|
|
struct ble_active_profile_changed {
|
|
|
|
struct zmk_event_header header;
|
|
|
|
u8_t index;
|
|
|
|
struct zmk_ble_profile *profile;
|
|
|
|
};
|
|
|
|
|
|
|
|
ZMK_EVENT_DECLARE(ble_active_profile_changed);
|