~ruther/qmk_firmware

5909c243d4ba019af6fbaf4397fda81c703db511 — MechMerlin 4 years ago 67976da
KBD67 Rev2 VIA: Increase layer count from 2 to 4 (#11039)

2 files changed, 33 insertions(+), 2 deletions(-)

D keyboards/kbdfans/kbd67/rev2/keymaps/via/config.h
M keyboards/kbdfans/kbd67/rev2/keymaps/via/keymap.c
D keyboards/kbdfans/kbd67/rev2/keymaps/via/config.h => keyboards/kbdfans/kbd67/rev2/keymaps/via/config.h +0 -1
@@ 1,1 0,0 @@
#define DYNAMIC_KEYMAP_LAYER_COUNT 2

M keyboards/kbdfans/kbd67/rev2/keymaps/via/keymap.c => keyboards/kbdfans/kbd67/rev2/keymaps/via/keymap.c +33 -1
@@ 1,3 1,19 @@
/* Copyright 2020 MechMerlin 
  * 
  * This program is free software: you can redistribute it and/or modify 
  * it under the terms of the GNU General Public License as published by 
  * the Free Software Foundation, either version 2 of the License, or 
  * (at your option) any later version. 
  * 
  * This program is distributed in the hope that it will be useful, 
  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
  * GNU General Public License for more details. 
  * 
  * You should have received a copy of the GNU General Public License 
  * along with this program.  If not, see <http://www.gnu.org/licenses/>. 
  */

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {


@@ 41,5 57,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT,          _______, _______,
  _______,          _______, _______, _______, _______, _______, _______, _______, KC_END,  KC_PGDN, KC_DOWN, _______, KC_PGUP, _______,
  _______, _______, _______,                            _______,                   _______, _______, _______, KC_HOME, KC_PGDN, KC_END
)
),

[2] = LAYOUT_65_ansi(
  _______, _______,   _______, _______,   _______, _______,   _______, _______,   _______, _______,   _______, _______,  _______, _______, _______,
  _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,   _______, _______, _______,
  _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,          _______, _______,
  _______,          _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
  _______, _______, _______,                            _______,                   _______, _______, _______, _______, _______, _______
), 

[3] = LAYOUT_65_ansi(
  _______, _______,   _______, _______,   _______, _______,   _______, _______,   _______, _______,   _______, _______,  _______, _______, _______,
  _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,   _______, _______, _______,
  _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,          _______, _______,
  _______,          _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
  _______, _______, _______,                            _______,                   _______, _______, _______, _______, _______, _______
), 
};