Skip to content

Commit

Permalink
Merge pull request #35 from canbaytok/cans12erv2
Browse files Browse the repository at this point in the history
Add Cans12erv2
  • Loading branch information
Cipulot authored Dec 6, 2024
2 parents 79065fe + 9c64a72 commit 34c4ee8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions keyboards/handwired/cans12erv2/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2024 Can Baytok (https://github.com/canbaytok)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_A, KC_B, KC_C, KC_D,
KC_E, KC_F, KC_G, KC_H,
KC_I, KC_J, KC_K, KC_L
)
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }
};
#endif
2 changes: 2 additions & 0 deletions keyboards/handwired/cans12erv2/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ENCODER_MAP_ENABLE = yes
VIA_ENABLE = yes

0 comments on commit 34c4ee8

Please sign in to comment.