Expanded handler implementation, more key defines.

This commit is contained in:
Pete Johanson
2020-05-10 17:13:24 -04:00
parent 70bf1230fa
commit 60feb8fb09
8 changed files with 189 additions and 47 deletions

12
src/handlers.h Normal file
View File

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