Add system keyboard interface and add sleep, power and wake keys.
This commit is contained in:
@@ -70,11 +70,15 @@ void UpdateUsbReports()
|
||||
|
||||
ResetActiveUsbBasicKeyboardReport();
|
||||
ResetActiveUsbMediaKeyboardReport();
|
||||
ResetActiveUsbSystemKeyboardReport();
|
||||
|
||||
KeyMatrix_Scan(&KeyMatrix);
|
||||
memcpy(CurrentKeyStates[SLOT_ID_RIGHT_KEYBOARD_HALF], KeyMatrix.keyStates, MAX_KEY_COUNT_PER_MODULE);
|
||||
UpdateActiveUsbReports();
|
||||
|
||||
SwitchActiveUsbBasicKeyboardReport();
|
||||
SwitchActiveUsbMediaKeyboardReport();
|
||||
SwitchActiveUsbSystemKeyboardReport();
|
||||
|
||||
IsUsbBasicKeyboardReportSent = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user