summaryrefslogtreecommitdiffstats
path: root/keyboards/jian/rev2
diff options
context:
space:
mode:
authorKgOfHedgehogs <kgofhedgehogs@gmail.com>2021-01-06 07:52:51 +0200
committerGitHub <noreply@github.com>2021-01-05 21:52:51 -0800
commit11599bea934749d6894b403ed75951861917388a (patch)
tree9ecd8e639bb6bded04b712950c69b81912439356 /keyboards/jian/rev2
parent115aa95788cb4c25b307f5c191e51df326d05e6e (diff)
[Keymap] Add jian/keymaps/left_hand (#11196)
* Add jian/keymaps/left_hand * Add jian/rev2/readme.md * Remove mod tap on mirrored layer * Add GPL2+ license header * Add gb version to readme
Diffstat (limited to 'keyboards/jian/rev2')
-rw-r--r--keyboards/jian/rev2/readme.md1
-rw-r--r--keyboards/jian/rev2/rev2.h19
2 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/jian/rev2/readme.md b/keyboards/jian/rev2/readme.md
new file mode 100644
index 0000000000..d02c35e960
--- /dev/null
+++ b/keyboards/jian/rev2/readme.md
@@ -0,0 +1 @@
+This is GB revision
diff --git a/keyboards/jian/rev2/rev2.h b/keyboards/jian/rev2/rev2.h
index 9dfb7240b1..d71fc8495d 100644
--- a/keyboards/jian/rev2/rev2.h
+++ b/keyboards/jian/rev2/rev2.h
@@ -37,3 +37,22 @@
{K20, K21, K22, K23, K24, K25 }, \
{XXX, XXX, K32, K33, K34, K35 } \
}
+
+#define LAYOUT_symmetric_left LAYOUT_symmetric
+
+#define LAYOUT_symmetric_right( \
+ K04, K03, K02, K12, K01, K00, K20, \
+ K05, K14, K13, K22, K11, K10, \
+ K15, K24, K23, K33, K32, K21, \
+ K35, K25, K34 \
+) \
+{ \
+ {K00, K01, K02, K03, K04, K05 }, \
+ {K10, K11, K12, K13, K14, K15 }, \
+ {K20, K21, K22, K23, K24, K25 }, \
+ {XXX, XXX, K32, K33, K34, K35 }, \
+ {K00, K01, K02, K03, K04, K05 }, \
+ {K10, K11, K12, K13, K14, K15 }, \
+ {K20, K21, K22, K23, K24, K25 }, \
+ {XXX, XXX, K32, K33, K34, K35 } \
+}