Handle disable key matrix scan test action for the right keyboard half.

This commit is contained in:
László Monda
2017-04-29 21:15:04 +02:00
parent 59be7dd5ea
commit fef5deea4a
2 changed files with 11 additions and 2 deletions

View File

@@ -72,9 +72,13 @@ void processMouseAction(key_action_t action)
}
void processTestAction(key_action_t testAction) {
if (testAction.test.testAction == TestAction_DisableI2c) {
switch (testAction.test.testAction) {
case TestAction_DisableI2c:
TestStates.disableI2c = true;
TEST_LED_OFF();
break;
case TestAction_DisableKeyMatrixScan:
TestStates.disableKeyMatrixScan = true;
break;
}
}