Some refactoring to prep for BLE support.
This commit is contained in:
parent
be53560b77
commit
04fe57d3a3
8 changed files with 43 additions and 19 deletions
11
src/keys.h
Normal file
11
src/keys.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include <zephyr.h>
|
||||
|
||||
typedef u64_t zmk_key;
|
||||
|
||||
struct zmk_key_event
|
||||
{
|
||||
zmk_key key;
|
||||
bool pressed;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue