You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
261 B
17 lines
261 B
5 years ago
|
#pragma once
|
||
|
|
||
|
#include <zephyr.h>
|
||
5 years ago
|
#include <dt-bindings/zmk/keys.h>
|
||
5 years ago
|
|
||
5 years ago
|
typedef u32_t zmk_key;
|
||
|
typedef u8_t zmk_action;
|
||
5 years ago
|
typedef u8_t zmk_mod;
|
||
5 years ago
|
typedef u8_t zmk_mod_flags;
|
||
5 years ago
|
|
||
|
struct zmk_key_event
|
||
|
{
|
||
5 years ago
|
u32_t column;
|
||
|
u32_t row;
|
||
5 years ago
|
zmk_key key;
|
||
|
bool pressed;
|
||
|
};
|