1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/handwired/onekey/keymaps/dip_switch_map/keymap.c

15 lines
384 B
C
Raw Normal View History

// 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