Some refactoring to prep for BLE support.

This commit is contained in:
Pete Johanson
2020-05-12 14:15:33 -04:00
parent be53560b77
commit 04fe57d3a3
8 changed files with 43 additions and 19 deletions

View File

@@ -1,12 +1,8 @@
#pragma once
#include "keymap.h"
#include <dt-bindings/zmk/keys.h>
struct zmk_key_event
{
zmk_key key;
bool pressed;
};
#include "keymap.h"
#include "keys.h"
void zmk_handle_key(struct zmk_key_event key_event);