summaryrefslogtreecommitdiff
path: root/keyboards/bpiphany/frosty_flake/keymaps/tkl
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-12-14 13:01:04 -0800
committerDrashna Jaelre <drashna@live.com>2018-12-14 13:01:04 -0800
commit4446f86bfd273512d473d33c46d99690db5fbc51 (patch)
treeae1c593a326fdbfb5a8fa8b9d13540438029dc9a /keyboards/bpiphany/frosty_flake/keymaps/tkl
parent306f23dc5119d864eb29cfef99ededb81075368e (diff)
Keyboard: Bpiphany Frosty Flake Refactor, Configurator support and readme cleanup (#4648)
* Frosty Flake: layout macro refactor - frosty_flake.h updated to use #pragma once - KEYMAP renamed to LAYOUT - KEYMAP_TKL renamed to LAYOUT_tkl * Frosty Flake: keymap refactor - config.h files updated to #pragma once - deleted deprecated build script rules from rules.mk - keymap.c files: - #include QMK_KEYBOARD_H - updated layout macro name - white space changes for readability * Frosty Flake: Configurator support * Frosty Flake: readme cleanup - Fixed Hardware Availability link (old link was 404) - tiny grammar fix (colon missing on compile-and-flash instructions)
Diffstat (limited to 'keyboards/bpiphany/frosty_flake/keymaps/tkl')
-rw-r--r--keyboards/bpiphany/frosty_flake/keymaps/tkl/config.h7
-rw-r--r--keyboards/bpiphany/frosty_flake/keymaps/tkl/keymap.c4
2 files changed, 3 insertions, 8 deletions
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/tkl/config.h b/keyboards/bpiphany/frosty_flake/keymaps/tkl/config.h
index 8893d122e0..271f48d001 100644
--- a/keyboards/bpiphany/frosty_flake/keymaps/tkl/config.h
+++ b/keyboards/bpiphany/frosty_flake/keymaps/tkl/config.h
@@ -1,8 +1,3 @@
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-#include "../../config.h"
+#pragma once
// place overrides here
-
-#endif
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/tkl/keymap.c b/keyboards/bpiphany/frosty_flake/keymaps/tkl/keymap.c
index 99dc95627e..8e87239719 100644
--- a/keyboards/bpiphany/frosty_flake/keymaps/tkl/keymap.c
+++ b/keyboards/bpiphany/frosty_flake/keymaps/tkl/keymap.c
@@ -1,7 +1,7 @@
-#include "frosty_flake.h"
+#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-[0] = KEYMAP_TKL(\
+[0] = LAYOUT_tkl(\
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, \
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, \
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, \