16ab6df18d
* Add new API/status to track state of the peripheral connection to the central. * Add new peripheral status widget for displaying the current status of the connection to the central.
16 lines
277 B
C
16 lines
277 B
C
/*
|
|
* Copyright (c) 2022 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <zephyr.h>
|
|
#include <zmk/event_manager.h>
|
|
|
|
struct zmk_split_peripheral_status_changed {
|
|
bool connected;
|
|
};
|
|
|
|
ZMK_EVENT_DECLARE(zmk_split_peripheral_status_changed);
|