summaryrefslogtreecommitdiff
path: root/app/include/zmk/events/ble-active-profile-changed.h
blob: c464236f2e08794ac8d4d8cdad5a45b882bcb402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
 *
 * 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);