summaryrefslogtreecommitdiffstats
path: root/keyboards/tada68/keymaps/trashcat/keymap.c
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-06-14 19:34:32 -0700
committerDrashna Jaelre <drashna@live.com>2018-06-14 19:34:32 -0700
commitee266dd5c8550a1f8e007a25bae92baf966841c9 (patch)
treee9a246af6a6b9b54a38a6661f8f56af27417033a /keyboards/tada68/keymaps/trashcat/keymap.c
parent0a19a07a6ef46f7e05b9307b3201d494f56492ff (diff)
Tada68 refactor and readme update (#3178)
* Readme update * Matrix/info.json refactor * Keymap refactor * Bugfix for mattdicarlo keymap
Diffstat (limited to 'keyboards/tada68/keymaps/trashcat/keymap.c')
-rw-r--r--keyboards/tada68/keymaps/trashcat/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/tada68/keymaps/trashcat/keymap.c b/keyboards/tada68/keymaps/trashcat/keymap.c
index 79a14753e1..da6bf6a1e9 100644
--- a/keyboards/tada68/keymaps/trashcat/keymap.c
+++ b/keyboards/tada68/keymaps/trashcat/keymap.c
@@ -1,4 +1,4 @@
-#include "tada68.h"
+#include QMK_KEYBOARD_H
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
@@ -44,7 +44,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* |Ctrl|Win |Alt | Space |FN| Alt|Ctrl|Lef|Dow|Rig |
* `----------------------------------------------------------------'
*/
-[_BL] = KEYMAP_ANSI(
+[_BL] = LAYOUT_ansi(
KC_ESC, TD(TD_F1), TD(TD_F2), TD(TD_F3), TD(TD_F4), TD(TD_F5), TD(TD_F6), TD(TD_F7), TD(TD_F8), TD(TD_F9), TD(TD_F10), TD(TD_F11), TD(TD_F12), KC_BSLS,KC_GRV, \
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_BSPC,KC_DEL, \
KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT,KC_PGUP, \
@@ -64,7 +64,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | | | | | | |Prev|P/P|Next|
* `----------------------------------------------------------------'
*/
-[_FL] = KEYMAP_ANSI(
+[_FL] = LAYOUT_ansi(
_______, 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_INS , \
_______,_______, KC_UP,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______, _______,KC_HOME, \
KC_CAPS,KC_LEFT,KC_DOWN,KC_RIGHT,_______,_______,_______,_______,_______,_______,_______,_______, _______,KC_END, \
@@ -84,7 +84,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* |Ctrl|Win |Alt | Space |FN| Alt|Ctrl|Lef|Dow|Rig |
* `----------------------------------------------------------------'
*/
-[_GM] = KEYMAP_ANSI(
+[_GM] = LAYOUT_ansi(
KC_ESC,TD(TD_F1), TD(TD_F2), TD(TD_F3), TD(TD_F4), TD(TD_F5), TD(TD_F6), TD(TD_F7), TD(TD_F8), TD(TD_F9), TD(TD_F10), TD(TD_F11), TD(TD_F12), _______, KC_GRV, \
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_BSPC,KC_DEL, \
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT,KC_PGUP, \