aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/40percentclub/6lit
diff options
context:
space:
mode:
authorzvecr <z.zvecr@gmail.com>2018-11-12 20:02:28 +0000
committerDrashna Jaelre <drashna@live.com>2018-11-12 12:02:28 -0800
commitb173c05cc25e9394c6e50081c1af707443950104 (patch)
tree36d750ffd81027e29d2dd8ab68274a4a9c4009cd /keyboards/40percentclub/6lit
parent746005acba3a3522eaa2bf1c8014644e1a60c5df (diff)
downloadfirmware-b173c05cc25e9394c6e50081c1af707443950104.tar.gz
firmware-b173c05cc25e9394c6e50081c1af707443950104.tar.bz2
firmware-b173c05cc25e9394c6e50081c1af707443950104.zip
Tidy 40percentclub boards (#4403)
* Remove unnecessary re-definitions for XXXXXXX and _______ * Update 6lit to use KC_NO in layout macros * Update rules.mk to follow current template * Remove use of deprecated function action_get_macro - unused and contents were from old template * Remove use of deprecated function action_get_macro - all code was commented out * Remove use of deprecated function action_get_macro - convert macro to use process_record_user * Convert keymap to consistent use of _______ * fix use of old style header guards * Swap KC_NO for XXXXXXX macro since the swap to the macro for KC_TRANS * Resolve use of ?= in rules.mk files * Remove duplication of rules.mk and config.h in gherkin mjt keymap * Remove unnecessary #includes * Align layout macros so foobar can use gherkin keymaps * Align 6lit layout macros with foobar * Remove ifndef QUANTUM_DIR from keymaps
Diffstat (limited to 'keyboards/40percentclub/6lit')
-rw-r--r--keyboards/40percentclub/6lit/6lit.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/keyboards/40percentclub/6lit/6lit.h b/keyboards/40percentclub/6lit/6lit.h
index ae0beea35..af01d44c2 100644
--- a/keyboards/40percentclub/6lit/6lit.h
+++ b/keyboards/40percentclub/6lit/6lit.h
@@ -16,10 +16,10 @@
#pragma once
#include "quantum.h"
-#define ________ KC_NO
+#define ___ KC_NO
#ifndef FLIP_HALF
-#define LAYOUT_split( \
+#define LAYOUT_ortho_2x6( \
L00, L01, L02, R00, R01, R02, \
L10, L11, L12, R10, R11, R12 \
) { \
@@ -29,7 +29,7 @@
{ R12, R11, R10 }, \
}
#else
-#define LAYOUT_split( \
+#define LAYOUT_ortho_2x6( \
L00, L01, L02, R00, R01, R02, \
L10, L11, L12, R10, R11, R12 \
) { \
@@ -40,15 +40,18 @@
}
#endif
-#define LAYOUT_macro( \
+#define LAYOUT_ortho_2x3( \
L00, L01, L02, \
L10, L11, L12 \
) { \
{ L00, L01, L02 }, \
{ L10, L11, L12 }, \
+ { ___, ___, ___ }, \
+ { ___, ___, ___ }, \
}
-#define LAYOUT LAYOUT_macro
+#define LAYOUT_macro LAYOUT_ortho_2x3
+#define LAYOUT_split LAYOUT_ortho_2x6
#ifdef USE_I2C
#error "I2C not Supported"