Skip to content

Commit

Permalink
Add hand-swap config to Gergo layout (qmk#5033)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fang- authored and zer09 committed Feb 2, 2019
1 parent ac7f789 commit 2349259
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions keyboards/gergo/gergo.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,21 @@ uint8_t init_mcp23018(void) {
//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} }
};

0 comments on commit 2349259

Please sign in to comment.