From a0a4c9102c51d9032af270920447d0d6d3bac7bc Mon Sep 17 00:00:00 2001 From: MechMerlin <30334081+mechmerlin@users.noreply.github.com> Date: Tue, 24 Apr 2018 09:01:40 -0700 Subject: Add Generic Keymap for my boards (#2795) * add mechmerlin 60 ansi layout * put meaningful #defines * missed the backslash * add merlin split layout * rename to have a -ansi * Add appropriate readme files * rename KEYMAP to LAYOUT * support for default layout * support for the community keymaps * make sure I don't break the configurator * Don't break the configurator Merlin --- keyboards/v60_type_r/v60_type_r.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'keyboards/v60_type_r/v60_type_r.h') diff --git a/keyboards/v60_type_r/v60_type_r.h b/keyboards/v60_type_r/v60_type_r.h index 37d0a573e..d65df2b3f 100644 --- a/keyboards/v60_type_r/v60_type_r.h +++ b/keyboards/v60_type_r/v60_type_r.h @@ -55,7 +55,7 @@ enum my_keycodes { // KBP V60 Type R with ALL possible layouts -#define KEYMAP_ALL( \ +#define LAYOUT_all( \ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ @@ -89,7 +89,7 @@ enum my_keycodes { // KBP V60 Type R with ANSI layout - #define KEYMAP_ANSI( \ + #define LAYOUT_60_ansi( \ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0e, \ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ @@ -106,7 +106,4 @@ enum my_keycodes { { k40, k41, k42, k43, k44, k45, k46, k47 } \ } -#define LAYOUT_all KEYMAP_ALL -#define LAYOUT_ansi KEYMAP_ANSI - #endif -- cgit v1.2.3-24-g4f1b