pull/18/head
Jesse Vincent 9 years ago
parent f32a4e6efb
commit 3fb816b89b

@ -19,11 +19,6 @@
void set_keymap(Key keymapEntry, byte matrixStateEntry) { void set_keymap(Key keymapEntry, byte matrixStateEntry) {
if (keymapEntry.flags & SWITCH_TO_KEYMAP) { if (keymapEntry.flags & SWITCH_TO_KEYMAP) {
// this logic sucks. there is a better way TODO this // this logic sucks. there is a better way TODO this
@ -65,11 +60,8 @@ void scan_matrix() {
for (byte col = 0; col < LEFT_COLS; col++) { for (byte col = 0; col < LEFT_COLS; col++) {
TS("Scanning col") TS("Scanning col")
matrixState[row][col] = implementation_scan_left_col(row,col,matrixState[row][col]); matrixState[row][col] = implementation_scan_left_col(row,col,matrixState[row][col]);
matrixState[row][(COLS - 1) - col] = implementation_scan_right_col(row,col,matrixState[row][(COLS - 1) - col]); matrixState[row][(COLS - 1) - col] = implementation_scan_right_col(row,col,matrixState[row][(COLS - 1) - col]);
// while we're inspecting the electrical matrix, we look // while we're inspecting the electrical matrix, we look
// to see if the Key being held is a firmware level // to see if the Key being held is a firmware level
// metakey, so we can act on it, lest we only discover // metakey, so we can act on it, lest we only discover
@ -95,7 +87,6 @@ void scan_matrix() {
// Command mode // Command mode
// //
void setup() { void setup() {
wdt_disable(); wdt_disable();
Serial.begin(115200); Serial.begin(115200);

Loading…
Cancel
Save