summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/keymaps/dip_switch_map/keymap.c
blob: 35bb16d4586f38e8d899975452741f4c74bfc8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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