summaryrefslogtreecommitdiff
path: root/keyboards/karn
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/karn')
-rw-r--r--keyboards/karn/info.json84
-rw-r--r--keyboards/karn/keymaps/colemak/keymap.c32
2 files changed, 42 insertions, 74 deletions
diff --git a/keyboards/karn/info.json b/keyboards/karn/info.json
index 961aa8efd2..c15801da35 100644
--- a/keyboards/karn/info.json
+++ b/keyboards/karn/info.json
@@ -27,48 +27,48 @@
"layouts": {
"LAYOUT_split_3x6_3": {
"layout": [
- { "matrix": [0, 0], "x": 0, "y": 0 },
- { "matrix": [0, 1], "x": 1, "y": 0 },
- { "matrix": [0, 2], "x": 2, "y": 0 },
- { "matrix": [0, 3], "x": 3, "y": 0 },
- { "matrix": [0, 4], "x": 4, "y": 0 },
- { "matrix": [0, 5], "x": 5, "y": 0},
- { "matrix": [4, 0], "x": 8, "y": 0},
- { "matrix": [4, 1], "x": 9, "y": 0 },
- { "matrix": [4, 2], "x": 10, "y": 0 },
- { "matrix": [4, 3], "x": 11, "y": 0 },
- { "matrix": [4, 4], "x": 12, "y": 0},
- { "matrix": [4, 5], "x": 13, "y": 0},
- { "matrix": [1, 0], "x": 0, "y": 1},
- { "matrix": [1, 1], "x": 1, "y": 1},
- { "matrix": [1, 2], "x": 2, "y": 1 },
- { "matrix": [1, 3], "x": 3, "y": 1 },
- { "matrix": [1, 4], "x": 4, "y": 1 },
- { "matrix": [1, 5], "x": 5, "y": 1},
- { "matrix": [5, 0], "x": 8, "y": 1},
- { "matrix": [5, 1], "x": 9, "y": 1 },
- { "matrix": [5, 2], "x": 10, "y": 1 },
- { "matrix": [5, 3], "x": 11, "y": 1 },
- { "matrix": [5, 4], "x": 12, "y": 1},
- { "matrix": [5, 5], "x": 13, "y": 1},
- { "matrix": [2, 0], "x": 0, "y": 2},
- { "matrix": [2, 1], "x": 1, "y": 2},
- { "matrix": [2, 2], "x": 2, "y": 2 },
- { "matrix": [2, 3], "x": 3, "y": 2 },
- { "matrix": [2, 4], "x": 4, "y": 2 },
- { "matrix": [2, 5], "x": 5, "y": 2},
- { "matrix": [6, 0], "x": 8, "y": 2},
- { "matrix": [6, 1], "x": 9, "y": 2 },
- { "matrix": [6, 2], "x": 10, "y": 2 },
- { "matrix": [6, 3], "x": 11, "y": 2 },
- { "matrix": [6, 4], "x": 12, "y": 2},
- { "matrix": [6, 5], "x": 13, "y": 2},
- { "matrix": [3, 0], "x": 3.5, "y": 3.25 },
- { "matrix": [3, 1], "x": 4.5, "y": 3.5 },
- { "matrix": [3, 2], "x": 5.5, "y": 3.75 },
- { "matrix": [7, 0], "x": 7.5, "y": 3.75 },
- { "matrix": [7, 1], "x": 8.5, "y": 3.5 },
- { "matrix": [7, 2], "x": 9.5, "y": 3.25 }
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [4, 0], "x": 8, "y": 0},
+ {"matrix": [4, 1], "x": 9, "y": 0},
+ {"matrix": [4, 2], "x": 10, "y": 0},
+ {"matrix": [4, 3], "x": 11, "y": 0},
+ {"matrix": [4, 4], "x": 12, "y": 0},
+ {"matrix": [4, 5], "x": 13, "y": 0},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [5, 0], "x": 8, "y": 1},
+ {"matrix": [5, 1], "x": 9, "y": 1},
+ {"matrix": [5, 2], "x": 10, "y": 1},
+ {"matrix": [5, 3], "x": 11, "y": 1},
+ {"matrix": [5, 4], "x": 12, "y": 1},
+ {"matrix": [5, 5], "x": 13, "y": 1},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [6, 0], "x": 8, "y": 2},
+ {"matrix": [6, 1], "x": 9, "y": 2},
+ {"matrix": [6, 2], "x": 10, "y": 2},
+ {"matrix": [6, 3], "x": 11, "y": 2},
+ {"matrix": [6, 4], "x": 12, "y": 2},
+ {"matrix": [6, 5], "x": 13, "y": 2},
+ {"matrix": [3, 0], "x": 3.5, "y": 3.25},
+ {"matrix": [3, 1], "x": 4.5, "y": 3.5},
+ {"matrix": [3, 2], "x": 5.5, "y": 3.75},
+ {"matrix": [7, 0], "x": 7.5, "y": 3.75},
+ {"matrix": [7, 1], "x": 8.5, "y": 3.5},
+ {"matrix": [7, 2], "x": 9.5, "y": 3.25}
]
}
}
diff --git a/keyboards/karn/keymaps/colemak/keymap.c b/keyboards/karn/keymaps/colemak/keymap.c
index 02b770747c..585798e8a1 100644
--- a/keyboards/karn/keymaps/colemak/keymap.c
+++ b/keyboards/karn/keymaps/colemak/keymap.c
@@ -27,37 +27,6 @@ bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
}
}
-bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case CTL_T(KC_X):
- return true;
- case ALT_T(KC_C):
- return true;
- case CMD_T(KC_V):
- return true;
- case CMD_T(KC_M):
- return true;
- case ALT_T(KC_COMM):
- return true;
- case CTL_T(KC_DOT):
- return true;
- case KC_X:
- return true;
- case KC_C:
- return true;
- case KC_V:
- return true;
- case KC_M:
- return true;
- case KC_COMM:
- return true;
- case KC_DOT:
- return true;
- default:
- return false;
- }
-}
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@@ -93,4 +62,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______
)
};
-