Archived
1
0

Adding support for kll 0.3d

- Requires kll compiler update
- Includes descriptor update to handle new consumer control codes
This commit is contained in:
Jacob Alexander 2015-10-17 15:03:21 -07:00
parent a10afbcc6a
commit 343104297d
2 changed files with 12 additions and 3 deletions

View File

@ -438,7 +438,15 @@
#define CONSUMER_BROADCAST_MODE 0x064 #define CONSUMER_BROADCAST_MODE 0x064
#define CONSUMER_SNAPSHOT 0x065 #define CONSUMER_SNAPSHOT 0x065
#define CONSUMER_STILL 0x066 #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_ASSIGN_SELECTION 0x081
#define CONSUMER_MODE_STEP 0x082 #define CONSUMER_MODE_STEP 0x082
@ -770,5 +778,6 @@
#define AC_SPLIT 0x29A #define AC_SPLIT 0x29A
#define AC_DISTRIBUTE_HORIZONTALLY 0x29B #define AC_DISTRIBUTE_HORIZONTALLY 0x29B
#define AC_DISTRIBUTE_VERTICALLY 0x29C #define AC_DISTRIBUTE_VERTICALLY 0x29C
// 0x29D-0xFFFF Reserved #define AC_NEXT_KEYBOARD_LAYOUT_SEL 0x29D
// 0x29E-0xFFFF Reserved

View File

@ -300,7 +300,7 @@ static uint8_t sys_ctrl_report_desc[] = {
0x26, 0x9C, 0x02, // Logical Maximum (668), 0x26, 0x9C, 0x02, // Logical Maximum (668),
0x05, 0x0C, // Usage Page (Consumer), 0x05, 0x0C, // Usage Page (Consumer),
0x19, 0x01, // Usage Minimum (1), 0x19, 0x01, // Usage Minimum (1),
0x2A, 0x9C, 0x02, // Usage Maximum (668), 0x2A, 0x9D, 0x02, // Usage Maximum (669),
0x81, 0x00, // Input (Data, Array), 0x81, 0x00, // Input (Data, Array),
0xc0, // End Collection - Consumer Control 0xc0, // End Collection - Consumer Control
}; };