From 5bbad3147c460cd235802a7762771b029b8f8f34 Mon Sep 17 00:00:00 2001 From: Biacco42 Date: Sun, 19 Nov 2017 18:02:39 +0900 Subject: Add support for 7x4 ortholinear split KB Ergo42 --- keyboards/ergo42/ergo42.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 keyboards/ergo42/ergo42.c (limited to 'keyboards/ergo42/ergo42.c') diff --git a/keyboards/ergo42/ergo42.c b/keyboards/ergo42/ergo42.c new file mode 100644 index 000000000..9954f5c4c --- /dev/null +++ b/keyboards/ergo42/ergo42.c @@ -0,0 +1,16 @@ +#include "ergo42.h" + +#ifdef ONEHAND_ENABLE +__attribute__ ((weak)) +const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { + + {{0, 4}, {1, 4}, {2, 4}, {3, 4}, {4, 4}, {5, 4}, {6, 4}}, + {{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, 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}}, +}; +#endif -- cgit v1.2.3