aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/gergo
diff options
context:
space:
mode:
authorFang <Fang-@users.noreply.github.com>2019-02-02 03:48:40 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-01 18:48:40 -0800
commitfd9967dd8ed503c9125e8eb4c0e66c8f0c9fd295 (patch)
tree0e958bf7f9598892236d361c5768cef86634da1b /keyboards/gergo
parent0bbf655d14af8749d4b2eb01776fc8c482f52748 (diff)
downloadfirmware-fd9967dd8ed503c9125e8eb4c0e66c8f0c9fd295.tar.gz
firmware-fd9967dd8ed503c9125e8eb4c0e66c8f0c9fd295.tar.bz2
firmware-fd9967dd8ed503c9125e8eb4c0e66c8f0c9fd295.zip
Add hand-swap config to Gergo layout (#5033)
Diffstat (limited to 'keyboards/gergo')
-rw-r--r--keyboards/gergo/gergo.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/gergo/gergo.c b/keyboards/gergo/gergo.c
index c6ba91bb2..d32792e2a 100644
--- a/keyboards/gergo/gergo.c
+++ b/keyboards/gergo/gergo.c
@@ -64,3 +64,21 @@ out:
//uprintf("Init %x\n", mcp23018_status);
return mcp23018_status;
}
+
+const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
+ { {0,0}, {0,7}, {2,7}, {3,7} },
+ { {0,8}, {1,8}, {2,8}, {3,8} },
+ { {0,9}, {1,9}, {2,9}, {3,9} },
+ { {0,10}, {1,10}, {2,10}, {3,10} },
+ { {0,11}, {1,11}, {2,11}, {3,11} },
+ { {0,12}, {1,12}, {2,12}, {0,0} },
+ { {0,13}, {1,13}, {2,13}, {0,0} },
+
+ { {1,0}, {0,0}, {2,0}, {3,0} },
+ { {0,1}, {1,1}, {2,1}, {3,1} },
+ { {0,2}, {1,2}, {2,2}, {3,2} },
+ { {0,3}, {1,3}, {2,3}, {3,3} },
+ { {0,4}, {1,4}, {2,4}, {3,4} },
+ { {0,5}, {1,5}, {2,5}, {3,5} },
+ { {0,6}, {1,6}, {2,6}, {3,6} }
+};