zmk_mf68/app/include/zmk/keys.h
innovaker f8e43932ba refactor(app): remove zmk_action
zmk_action isn't referenced anywhere.

PR: #530
2020-12-21 23:34:40 -05:00

21 lines
No EOL
337 B
C

/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#include <zephyr.h>
#include <dt-bindings/zmk/keys.h>
typedef uint32_t zmk_key;
typedef uint8_t zmk_mod;
typedef uint8_t zmk_mod_flags;
struct zmk_key_event {
uint32_t column;
uint32_t row;
zmk_key key;
bool pressed;
};