]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Output/pjrcUSB/output_com.h
Fixing warning messages found using clang.
[kiibohd-controller.git] / Output / pjrcUSB / output_com.h
index 4146cab41f55d00118632a6b940e9658ef150c98..793804059277ee2d7c8104eb10257cf048416446 100644 (file)
@@ -36,7 +36,7 @@
 
 // Max size of key buffer needed for NKRO
 // Boot mode uses only the first 6 bytes
-#define USB_NKRO_BITFIELD_SIZE_KEYS 26
+#define USB_NKRO_BITFIELD_SIZE_KEYS 27
 #define USB_BOOT_MAX_KEYS 6
 
 
@@ -50,8 +50,11 @@ typedef enum USBKeyChangeState {
        USBKeyChangeState_Modifiers     = 0x01,
        USBKeyChangeState_MainKeys      = 0x02,
        USBKeyChangeState_SecondaryKeys = 0x04,
-       USBKeyChangeState_System        = 0x08,
-       USBKeyChangeState_Consumer      = 0x10,
+       USBKeyChangeState_TertiaryKeys  = 0x08,
+       USBKeyChangeState_QuartiaryKeys = 0x10,
+       USBKeyChangeState_System        = 0x20,
+       USBKeyChangeState_Consumer      = 0x40,
+       USBKeyChangeState_All           = 0x7F,
 } USBKeyChangeState;