1
0
Fork 0

Add hand-swap config to Gergo layout (#5033)

This commit is contained in:
Fang 2019-02-02 03:48:40 +01:00 committed by MechMerlin
parent 0bbf655d14
commit fd9967dd8e

View file

@ -64,3 +64,21 @@ out:
//uprintf("Init %x\n", mcp23018_status); //uprintf("Init %x\n", mcp23018_status);
return 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} }
};