Fixing USB send rate.
- Only send USB events when something changes (rather than every ms)
This commit is contained in:
parent
9b1e19017f
commit
97b514a9d4
3 changed files with 21 additions and 1 deletions
|
@ -47,6 +47,7 @@ extern uint8_t USBKeys_Modifiers;
|
|||
extern uint8_t USBKeys_Array[USB_MAX_KEY_SEND];
|
||||
extern uint8_t USBKeys_Sent;
|
||||
extern volatile uint8_t USBKeys_LEDs;
|
||||
extern uint8_t USBKeys_Changed;
|
||||
|
||||
static const uint8_t USBKeys_MaxSize = USB_MAX_KEY_SEND;
|
||||
extern volatile uint8_t USBKeys_Protocol; // 0 - Boot Mode, 1 - NKRO Mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue