Mercurial > louis > kiibohd-controller
changeset 391:e85438377fe6
Adding support for kll 0.3d
- Requires kll compiler update
- Includes descriptor update to handle new consumer control codes
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sat, 17 Oct 2015 15:03:21 -0700 |
parents | a3825c7fc651 |
children | 36b047a5afb0 |
files | Macro/PartialMap/usb_hid.h Output/pjrcUSB/arm/usb_desc.c |
diffstat | 2 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Macro/PartialMap/usb_hid.h Fri Oct 16 10:02:01 2015 -0700 +++ b/Macro/PartialMap/usb_hid.h Sat Oct 17 15:03:21 2015 -0700 @@ -438,7 +438,15 @@ #define CONSUMER_BROADCAST_MODE 0x064 #define CONSUMER_SNAPSHOT 0x065 #define CONSUMER_STILL 0x066 -// 0x067 - 0x07F Reserved +// 0x067 - 0x06E Reserved? +#define CONSUMER_BRIGHTNESS_INCREMENT 0x06F +#define CONSUMER_BRIGHTNESS_DECREMENT 0x070 + +#define CONSUMER_BACKLIGHT_TOGGLE 0x072 +#define CONSUMER_BRIGHTNESS_MIN 0x073 +#define CONSUMER_BRIGHTNESS_MAX 0x074 +#define CONSUMER_BRIGHTNESS_AUTO 0x075 +// 0x076 - 0x07F Reserved #define CONSUMER_ASSIGN_SELECTION 0x081 #define CONSUMER_MODE_STEP 0x082 @@ -770,5 +778,6 @@ #define AC_SPLIT 0x29A #define AC_DISTRIBUTE_HORIZONTALLY 0x29B #define AC_DISTRIBUTE_VERTICALLY 0x29C -// 0x29D-0xFFFF Reserved +#define AC_NEXT_KEYBOARD_LAYOUT_SEL 0x29D +// 0x29E-0xFFFF Reserved
--- a/Output/pjrcUSB/arm/usb_desc.c Fri Oct 16 10:02:01 2015 -0700 +++ b/Output/pjrcUSB/arm/usb_desc.c Sat Oct 17 15:03:21 2015 -0700 @@ -300,7 +300,7 @@ 0x26, 0x9C, 0x02, // Logical Maximum (668), 0x05, 0x0C, // Usage Page (Consumer), 0x19, 0x01, // Usage Minimum (1), - 0x2A, 0x9C, 0x02, // Usage Maximum (668), + 0x2A, 0x9D, 0x02, // Usage Maximum (669), 0x81, 0x00, // Input (Data, Array), 0xc0, // End Collection - Consumer Control };