qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

keymap.c (384B)


      1 // Copyright 2023 QMK
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 #include QMK_KEYBOARD_H
      4 
      5 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
      6     [0] = LAYOUT_ortho_1x1(KC_A),
      7     [1] = LAYOUT_ortho_1x1(KC_B),
      8 };
      9 
     10 #if defined(DIP_SWITCH_MAP_ENABLE)
     11 const uint16_t PROGMEM dip_switch_map[NUM_DIP_SWITCHES][NUM_DIP_STATES] = {
     12     DIP_SWITCH_OFF_ON(DF(0), DF(1))
     13 };
     14 #endif