fixed indentation
This commit is contained in:
parent
62a9a954c4
commit
d4b5d0095f
@ -155,7 +155,7 @@ const uint8_t PROGMEM keymatrix[22][13] = {
|
|||||||
* \sa keymatrix
|
* \sa keymatrix
|
||||||
*/
|
*/
|
||||||
const uint8_t PROGMEM modmatrix[22][13] = { // contains positions of modifiers in the matrix
|
const uint8_t PROGMEM modmatrix[22][13] = { // contains positions of modifiers in the matrix
|
||||||
// 0 1 2 3 4 5 6 7 8 9 10 11 12
|
// 0 1 2 3 4 5 6 7 8 9 10 11 12
|
||||||
{MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE}, // 0
|
{MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE}, // 0
|
||||||
{MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE}, // 1
|
{MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE}, // 1
|
||||||
{MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE}, // 2
|
{MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE, MOD_NONE}, // 2
|
||||||
@ -241,7 +241,7 @@ uint8_t scankeys(uint8_t* reportBuffer, uint8_t* oldReportBuffer, uint8_t sizeOf
|
|||||||
}
|
}
|
||||||
if (debounce == 1) {
|
if (debounce == 1) {
|
||||||
if (memcmp(oldmatrix, curmatrix, sizeof(curmatrix)) != 0) {
|
if (memcmp(oldmatrix, curmatrix, sizeof(curmatrix)) != 0) {
|
||||||
// printMatrix();
|
//printMatrix();
|
||||||
memcpy(oldmatrix, curmatrix, sizeof(curmatrix));
|
memcpy(oldmatrix, curmatrix, sizeof(curmatrix));
|
||||||
}
|
}
|
||||||
// debounce counter expired, create report
|
// debounce counter expired, create report
|
||||||
|
Loading…
Reference in New Issue
Block a user