|
|
@ -141,7 +141,7 @@ void debug_keyswitch_event(keydata_t state, keydata_t previousState, uint8_t key
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Model01::read_matrix() {
|
|
|
|
void Model01::readMatrix() {
|
|
|
|
//scan the Keyboard matrix looking for connections
|
|
|
|
//scan the Keyboard matrix looking for connections
|
|
|
|
previousLeftHandState = leftHandState;
|
|
|
|
previousLeftHandState = leftHandState;
|
|
|
|
previousRightHandState = rightHandState;
|
|
|
|
previousRightHandState = rightHandState;
|
|
|
@ -157,7 +157,7 @@ void Model01::read_matrix() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Model01::act_on_matrix_scan() {
|
|
|
|
void Model01::actOnMatrixScan() {
|
|
|
|
for (byte row = 0; row < 4; row++) {
|
|
|
|
for (byte row = 0; row < 4; row++) {
|
|
|
|
for (byte col = 0; col < 8; col++) {
|
|
|
|
for (byte col = 0; col < 8; col++) {
|
|
|
|
|
|
|
|
|
|
|
@ -176,9 +176,9 @@ void Model01::act_on_matrix_scan() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Model01::scan_matrix() {
|
|
|
|
void Model01::scanMatrix() {
|
|
|
|
read_matrix();
|
|
|
|
readMatrix();
|
|
|
|
act_on_matrix_scan();
|
|
|
|
actOnMatrixScan();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Model01::reboot_bootloader() {
|
|
|
|
void Model01::reboot_bootloader() {
|
|
|
|