summaryrefslogtreecommitdiff
path: root/keyboards/splitty/splitty.c
diff options
context:
space:
mode:
authorNicolas Schodet2018-06-14 20:56:45 +0200
committerNicolas Schodet2018-07-10 01:03:33 +0200
commit502895671d55f6a9be06aac0bed8d0ee91f2ba84 (patch)
tree875c2435268b4870fef04556d57fced914d78a01 /keyboards/splitty/splitty.c
parent8ee97f7c995f6796d1297945a6f5c887fa667f00 (diff)
Add splitty keyboard
Diffstat (limited to 'keyboards/splitty/splitty.c')
-rw-r--r--keyboards/splitty/splitty.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/splitty/splitty.c b/keyboards/splitty/splitty.c
new file mode 100644
index 000000000..6f1e98164
--- /dev/null
+++ b/keyboards/splitty/splitty.c
@@ -0,0 +1,18 @@
+#include "splitty.h"
+
+#ifdef SWAP_HANDS_ENABLE
+__attribute__ ((weak))
+const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
+
+ {{0, 5}, {1, 5}, {2, 5}, {3, 5}, {4, 5}, {5, 5}, {6, 5}},
+ {{0, 6}, {1, 6}, {2, 6}, {3, 6}, {4, 6}, {5, 6}, {6, 6}},
+ {{0, 7}, {1, 7}, {2, 7}, {3, 7}, {4, 7}, {5, 7}, {6, 7}},
+ {{0, 8}, {1, 8}, {2, 8}, {3, 8}, {4, 8}, {5, 8}, {6, 8}},
+ {{0, 9}, {1, 9}, {2, 9}, {3, 9}, {4, 9}, {5, 9}, {6, 9}},
+ {{0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {6, 0}},
+ {{0, 1}, {1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}, {6, 1}},
+ {{0, 2}, {1, 2}, {2, 2}, {3, 2}, {4, 2}, {5, 2}, {6, 2}},
+ {{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}, {6, 3}},
+ {{0, 4}, {1, 4}, {2, 4}, {3, 4}, {4, 4}, {5, 4}, {6, 4}},
+};
+#endif