summaryrefslogtreecommitdiffstats
path: root/keyboards/eco/keymaps/hexwire/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/eco/keymaps/hexwire/keymap.c')
-rw-r--r--keyboards/eco/keymaps/hexwire/keymap.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/keyboards/eco/keymaps/hexwire/keymap.c b/keyboards/eco/keymaps/hexwire/keymap.c
index c20d45c2b2..7c6616aac8 100644
--- a/keyboards/eco/keymaps/hexwire/keymap.c
+++ b/keyboards/eco/keymaps/hexwire/keymap.c
@@ -2,9 +2,7 @@
// Default ECO Layout
// KLE here : http://www.keyboard-layout-editor.com/#/gists/0733eca6b4cb88ff9d7de746803f4039
-#include "eco.h"
-#include "action_layer.h"
-#include "eeconfig.h"
+#include QMK_KEYBOARD_H
extern keymap_config_t keymap_config;
@@ -50,7 +48,7 @@ enum eco_keycodes {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_QWERTY] = KC_KEYMAP(
+ [_QWERTY] = LAYOUT_kc(
//,----+----+----+----+----+----+----+----+----+----+----+----+----+----.
TAB , Q , W , E , R , T ,LPRN,RPRN, Y , U , I , O , P ,MINS,
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
@@ -63,7 +61,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
- [_LOWER] = KC_KEYMAP(
+ [_LOWER] = LAYOUT_kc(
//,----+----+----+----+----+----+----+----+----+----+----+----+----+----.
, 1 , 2 , 3 , 4 , 5 ,LPRN,RPRN, 6 , 7 , 8 , 9 , 0 , ,
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
@@ -71,11 +69,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
,CPYP, , ,DOWN,LCBR,LCBR,RCBR,RCBR, P1 , P2 , P3 ,MINS, ,
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
- , , , , , , ,DEL ,DEL , , P0 ,PDOT, ,
+ , , , , , , ,DEL ,DEL , , P0 ,PDOT, ,
//`----+----+----+----+----+----+----+----+----+----+----+----+----+----'
),
- [_RAISE] = KC_KEYMAP(
+ [_RAISE] = LAYOUT_kc(
//,----+----+----+----+----+----+----+----+----+----+----+----+----+----.
,EXLM, AT ,HASH,DLR ,PERC, , ,CIRC,AMPR,ASTR,LPRN,RPRN, ,
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
@@ -83,11 +81,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
MUTE,MSTP,MPLY,VOLD,PGDN,MINS, , ,PLUS,END , , , , ,
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
- , , , , , , , , , , , , ,
+ , , , , , , , , , , , , ,
//`----+----+----+----+----+----+----+----+----+----+----+----+----+----'
),
- [_FN3] = KC_KEYMAP(
+ [_FN3] = LAYOUT_kc(
//,----+----+----+----+----+----+----+----+----+----+----+----+----+----.
F12 , F1 , F2 , F3 , F4 , F5 , , , F6 , F7 , F8 , F9 ,F10 ,F11 ,
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
@@ -95,7 +93,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
RST ,DBUG,RHUD,RSAD,RVAD, , , , , , , , , ,
//|----+----+----+----+----+----+----+----+----+----+----+----+----+----|
- , , , , , , , , , , , , ,
+ , , , , , , , , , , , , ,
//`----+----+----+----+----+----+----+----+----+----+----+----+----+----'
),