aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/planck/keymap_common.h
diff options
context:
space:
mode:
authorNathan Ross Powell <nathanrosspowell@gmail.com>2015-03-18 23:58:21 -0400
committerNathan Ross Powell <nathanrosspowell@gmail.com>2015-03-18 23:58:21 -0400
commite9df959c131932f7d149b8c0fa07d7fea845f0fc (patch)
tree2298d5076cd431921fac8dfbff2440d5b2bad657 /keyboard/planck/keymap_common.h
parente958baca815fb13e93b79798b1b20a8aea26c8ee (diff)
downloadfirmware-e9df959c131932f7d149b8c0fa07d7fea845f0fc.tar.gz
firmware-e9df959c131932f7d149b8c0fa07d7fea845f0fc.tar.bz2
firmware-e9df959c131932f7d149b8c0fa07d7fea845f0fc.zip
Update keymap_nathan.c
Remove macro for KEYMAP_GRID that is in keymap_common.h. Add comments with ASCII art for the two layouts in keymap_common.h.
Diffstat (limited to 'keyboard/planck/keymap_common.h')
-rw-r--r--keyboard/planck/keymap_common.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboard/planck/keymap_common.h b/keyboard/planck/keymap_common.h
index 8a55fd9ee..c74c7e9a2 100644
--- a/keyboard/planck/keymap_common.h
+++ b/keyboard/planck/keymap_common.h
@@ -35,6 +35,17 @@ extern const uint16_t fn_actions[];
// MIT Layout
+/*
+ * ,-----------------------------------------------------------------------.
+ * | | | | | | | | | | | | |
+ * |-----------------------------------------------------------------------|
+ * | | | | | | | | | | | | |
+ * |-----------------------------------------------------------------------|
+ * | | | | | | | | | | | | |
+ * |-----------------------------------------------------------------------|
+ * | | | | | | | | | | | |
+ * `-----------------------------------------------------------------------'
+ */
#define KEYMAP( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
@@ -48,6 +59,17 @@ extern const uint16_t fn_actions[];
}
// Grid Layout
+/*
+ * ,-----------------------------------------------------------------------.
+ * | | | | | | | | | | | | |
+ * |-----------------------------------------------------------------------|
+ * | | | | | | | | | | | | |
+ * |-----------------------------------------------------------------------|
+ * | | | | | | | | | | | | |
+ * |-----------------------------------------------------------------------|
+ * | | | | | | | | | | | | |
+ * `-----------------------------------------------------------------------'
+ */
#define KEYMAP_GRID( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \