Skip to content

Commit

Permalink
Add swap hands config for kyria (qmk#10397)
Browse files Browse the repository at this point in the history
* add swap hands config

* move to rev1
  • Loading branch information
winterNebs authored Sep 23, 2020
1 parent 55d5685 commit 4bc300f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions keyboards/kyria/kyria.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kyria.h"

18 changes: 17 additions & 1 deletion keyboards/kyria/rev1/rev1.c
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
#include "rev1.h"
#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

0 comments on commit 4bc300f

Please sign in to comment.