Add a mock kscan driver, working native_posix.

* Unified logging to one module.
* Mock kscan driver that simulates events.
* Working native_posix board target for testing.
This commit is contained in:
Pete Johanson
2020-05-24 18:22:16 -04:00
parent 9d5de4e922
commit ed5532bf94
12 changed files with 228 additions and 12 deletions

View File

@@ -9,7 +9,7 @@
#include <drivers/kscan.h>
#include <logging/log.h>
LOG_MODULE_REGISTER(zmk_kscan, CONFIG_ZMK_KSCAN_LOG_LEVEL);
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#include <zmk/keymap.h>
#include <zmk/handlers.h>