/* * Copyright (c) 2020 The ZMK Contributors * * SPDX-License-Identifier: MIT */ #include / { kscan0: kscan { compatible = "zmk,kscan-gpio-direct"; label = "KSCAN"; input-gpios = <&gpio0 18 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)> ; }; default_transform: keymap_transform_0 { compatible = "zmk,matrix-transform"; columns = <1>; rows = <1>; map = ; }; chosen { zmk,kscan = &kscan0; zmk,matrix_transform = &default_transform; }; };