blob: a9302a5cf474b39f2e1a4e5e57fefc8efe00c87f (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | /*
 * Copyright (c) 2020 The ZMK Contributors
 *
 * SPDX-License-Identifier: MIT
 */
#pragma once
#include <zephyr.h>
#include <zmk/event-manager.h>
#include <device.h>
struct sensor_event {
    struct zmk_event_header header;
    u8_t sensor_number;
    struct device *sensor;
};
ZMK_EVENT_DECLARE(sensor_event);
 |