qmk_firmware/keyboards/handwired/onekey/keymaps/dip_switch_map/keymap.c
2023-12-11 23:06:18 +00:00

15 lines
384 B
C

// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_ortho_1x1(KC_A),
[1] = LAYOUT_ortho_1x1(KC_B),
};
#if defined(DIP_SWITCH_MAP_ENABLE)
const uint16_t PROGMEM dip_switch_map[NUM_DIP_SWITCHES][NUM_DIP_STATES] = {
DIP_SWITCH_OFF_ON(DF(0), DF(1))
};
#endif