/* * Copyright (c) 2020 Peter Johanson * * SPDX-License-Identifier: MIT */ #include #include #include #include #include #include #define ZMK_KSCAN_DEV DT_LABEL(ZMK_MATRIX_NODE_ID) void main(void) { printk("Welcome to ZMK!\n"); if (zmk_kscan_init(ZMK_KSCAN_DEV) != 0) { return; } if (zmk_endpoints_init()) { return; } }