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>
|
2020-12-23 02:56:00 +11:00
|
|
|
#include <zmk/event_manager.h>
|
2020-09-09 13:26:00 +10:00
|
|
|
#include <device.h>
|
|
|
|
|
|
|
|
#include <zmk/ble/profile.h>
|
|
|
|
|
2021-01-18 16:35:56 +11:00
|
|
|
struct zmk_ble_active_profile_changed {
|
2020-12-03 03:41:57 +11:00
|
|
|
uint8_t index;
|
2020-09-09 13:26:00 +10:00
|
|
|
struct zmk_ble_profile *profile;
|
|
|
|
};
|
|
|
|
|
2021-01-18 16:35:56 +11:00
|
|
|
ZMK_EVENT_DECLARE(zmk_ble_active_profile_changed);
|