diff options
author | Isaac <isaac@wen.ca> | 2020-09-22 20:35:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 01:35:04 +0100 |
commit | afb9179b6532d2968923d9991e9d2d5d3e506e06 (patch) | |
tree | 8d9389749219af594cbda58268eefeceab649921 /keyboards/kyria | |
parent | 5faf5383ad4f651fd3d576a4d0932679f14c752e (diff) | |
download | firmware-afb9179b6532d2968923d9991e9d2d5d3e506e06.tar.gz firmware-afb9179b6532d2968923d9991e9d2d5d3e506e06.tar.bz2 firmware-afb9179b6532d2968923d9991e9d2d5d3e506e06.zip |
Add swap hands config for kyria (#10397)
* add swap hands config
* move to rev1
Diffstat (limited to 'keyboards/kyria')
-rw-r--r-- | keyboards/kyria/kyria.c | 1 | ||||
-rw-r--r-- | keyboards/kyria/rev1/rev1.c | 18 |
2 files changed, 18 insertions, 1 deletions
diff --git a/keyboards/kyria/kyria.c b/keyboards/kyria/kyria.c index 21ed5e84c..1692093fb 100644 --- a/keyboards/kyria/kyria.c +++ b/keyboards/kyria/kyria.c @@ -14,3 +14,4 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "kyria.h" + diff --git a/keyboards/kyria/rev1/rev1.c b/keyboards/kyria/rev1/rev1.c index 9aedcc130..970a359e7 100644 --- a/keyboards/kyria/rev1/rev1.c +++ b/keyboards/kyria/rev1/rev1.c @@ -1 +1,17 @@ -#include "rev1.h"
\ No newline at end of file +#include "rev1.h" + +#ifdef SWAP_HANDS_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}, {7, 4}}, + {{0, 5}, {1, 5}, {2, 5}, {3, 5}, {4, 5}, {5, 5}, {6, 5}, {7, 5}}, + {{0, 6}, {1, 6}, {2, 6}, {3, 6}, {4, 6}, {5, 6}, {6, 6}, {7, 6}}, + {{0, 7}, {1, 7}, {2, 7}, {3, 7}, {4, 7}, {5, 7}, {6, 7}, {7, 7}}, + {{0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {6, 0}, {7, 0}}, + {{0, 1}, {1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}, {6, 1}, {7, 1}}, + {{0, 2}, {1, 2}, {2, 2}, {3, 2}, {4, 2}, {5, 2}, {6, 2}, {7, 2}}, + {{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}, {6, 3}, {7, 3}} +}; + +#endif |