forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes Erez personally from QMK (qmk#5883)
- Loading branch information
1 parent
8bcefc9
commit 8680c50
Showing
13 changed files
with
20 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
/* | ||
Note for ErgoDox EZ customizers: Here be dragons! | ||
This is not a file you want to be messing with. | ||
All of the interesting stuff for you is under keymaps/ :) | ||
Love, Erez | ||
Copyright 2013 Oleg Kostyuk <[email protected]> | ||
|
@@ -95,7 +91,7 @@ void matrix_init(void) { | |
// initialize matrix state: all keys off | ||
for (uint8_t i = 0; i < MATRIX_ROWS; i++) { | ||
matrix[i] = 0; | ||
raw_matrix[i] = 0; | ||
raw_matrix[i] = 0; | ||
} | ||
|
||
#ifdef DEBUG_MATRIX_SCAN_RATE | ||
|
@@ -168,7 +164,7 @@ uint8_t matrix_scan(void) { | |
#ifdef LEFT_LEDS | ||
mcp23018_status = ergodox_left_leds_update(); | ||
#endif // LEFT_LEDS | ||
bool changed = false; | ||
bool changed = false; | ||
for (uint8_t i = 0; i < MATRIX_ROWS_PER_SIDE; i++) { | ||
// select rows from left and right hands | ||
uint8_t left_index = i; | ||
|
@@ -178,13 +174,13 @@ uint8_t matrix_scan(void) { | |
|
||
// we don't need a 30us delay anymore, because selecting a | ||
// left-hand row requires more than 30us for i2c. | ||
|
||
changed |= store_raw_matrix_row(left_index); | ||
changed |= store_raw_matrix_row(right_index); | ||
|
||
unselect_rows(); | ||
} | ||
|
||
debounce(raw_matrix, matrix, MATRIX_ROWS, changed); | ||
matrix_scan_quantum(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
/* | ||
Note for ErgoDox EZ customizers: Here be dragons! | ||
This is not a file you want to be messing with. | ||
All of the interesting stuff for you is under keymaps/ :) | ||
Love, Erez | ||
Copyright 2013 Oleg Kostyuk <[email protected]> | ||
|
@@ -226,8 +222,8 @@ uint8_t matrix_scan(void) | |
matrix_scan_quantum(); | ||
|
||
#ifdef DEBUG_MATRIX | ||
for (uint8_t c = 0; c < MATRIX_COLS; c++) | ||
for (uint8_t r = 0; r < MATRIX_ROWS; r++) | ||
for (uint8_t c = 0; c < MATRIX_COLS; c++) | ||
for (uint8_t r = 0; r < MATRIX_ROWS; r++) | ||
if (matrix_is_on(r, c)) xprintf("r:%d c:%d \n", r, c); | ||
#endif | ||
|
||
|
@@ -324,10 +320,10 @@ static void unselect_rows(void) | |
static void select_row(uint8_t row) | ||
{ | ||
if (row < 6) { | ||
// select on mcp23018 | ||
// select on mcp23018 | ||
if (mcp23018_status) { // do nothing on error | ||
// Read using bitmask | ||
} else { // set active row low : 0 // set other rows hi-Z : 1 | ||
} else { // set active row low : 0 // set other rows hi-Z : 1 | ||
mcp23018_status = i2c_start(I2C_ADDR_WRITE, ERGODOX_EZ_I2C_TIMEOUT); if (mcp23018_status) goto out; | ||
mcp23018_status = i2c_write(GPIOA, ERGODOX_EZ_I2C_TIMEOUT); if (mcp23018_status) goto out; | ||
mcp23018_status = i2c_write(~(1<<row), ERGODOX_EZ_I2C_TIMEOUT); if (mcp23018_status) goto out; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
/* | ||
Note for ErgoDox EZ customizers: Here be dragons! | ||
This is not a file you want to be messing with. | ||
All of the interesting stuff for you is under keymaps/ :) | ||
Love, Erez | ||
Copyright 2013 Oleg Kostyuk <[email protected]> | ||
|
@@ -248,8 +244,8 @@ uint8_t matrix_scan(void) | |
matrix_scan_quantum(); | ||
|
||
#ifdef DEBUG_MATRIX | ||
for (uint8_t c = 0; c < MATRIX_COLS; c++) | ||
for (uint8_t r = 0; r < MATRIX_ROWS; r++) | ||
for (uint8_t c = 0; c < MATRIX_COLS; c++) | ||
for (uint8_t r = 0; r < MATRIX_ROWS; r++) | ||
if (matrix_is_on(r, c)) xprintf("r:%d c:%d \n", r, c); | ||
#endif | ||
|
||
|
@@ -359,7 +355,7 @@ static void select_row(uint8_t row) | |
if (row < 7) { | ||
// select on mcp23018 | ||
if (mcp23018_status) { // do nothing on error | ||
} else { // set active row low : 0 // set other rows hi-Z : 1 | ||
} else { // set active row low : 0 // set other rows hi-Z : 1 | ||
mcp23018_status = i2c_start(I2C_ADDR_WRITE, ERGODOX_EZ_I2C_TIMEOUT); if (mcp23018_status) goto out; | ||
mcp23018_status = i2c_write(GPIOA, ERGODOX_EZ_I2C_TIMEOUT); if (mcp23018_status) goto out; | ||
mcp23018_status = i2c_write(0xFF & ~(1<<row), ERGODOX_EZ_I2C_TIMEOUT); if (mcp23018_status) goto out; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
/* | ||
Note for ErgoDox EZ customizers: Here be dragons! | ||
This is not a file you want to be messing with. | ||
All of the interesting stuff for you is under keymaps/ :) | ||
Love, Erez | ||
Copyright 2013 Oleg Kostyuk <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,6 @@ The "column" and "row" in here actually refers to the opposite on the keyboard | |
see definition of KEYMAP in v1.h, the grid is transposed so that a "row" in here is actually a "column" on the physical keyboard | ||
Nicolas | ||
Note for ErgoDox EZ customizers: Here be dragons! | ||
This is not a file you want to be messing with. | ||
All of the interesting stuff for you is under keymaps/ :) | ||
Love, Erez | ||
Copyright 2013 Oleg Kostyuk <[email protected]> | ||
Copyright 2013 Nicolas Poirey <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
/* | ||
Note for ErgoDox EZ customizers: Here be dragons! | ||
This is not a file you want to be messing with. | ||
All of the interesting stuff for you is under keymaps/ :) | ||
Love, Erez | ||
Copyright 2013 Oleg Kostyuk <[email protected]> | ||
This program is free software: you can redistribute it and/or modify | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.