Inline isKeyPressed(). Rename key to action within HandleMouseKey() and a few other identifiers to make the code more intuitive.
This commit is contained in:
@@ -74,7 +74,7 @@ void UpdateUsbReports()
|
||||
// I2cRead(I2C_MAIN_BUS_BASEADDR, I2C_ADDRESS_LEFT_KEYBOARD_HALF, CurrentKeyStates[SLOT_ID_LEFT_KEYBOARD_HALF], LEFT_KEYBOARD_HALF_KEY_COUNT);
|
||||
// }
|
||||
|
||||
HandleKeyboardEvents(ActiveUsbKeyboardReport, &UsbMouseReport);
|
||||
HandleKeyboardEvents();
|
||||
|
||||
SwitchActiveUsbKeyboardReport();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user