Mercurial > louis > kiibohd-controller
comparison Scan/ISSILed/capabilities.kll @ 384:82ce1988fefe
Adding basic ISSI led brightness control capabilities
- 6 modes
* Single led: decrease, increase, set
* All leds: decrease, increase, set
- Currently update speed limited to once every 30 ms
* Likely an I2C driver or ISSI limitation preventing even faster updates
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Fri, 09 Oct 2015 22:28:31 -0700 |
parents | 58d2c5bf95eb |
children |
comparison
equal
deleted
inserted
replaced
383:801e7628d977 | 384:82ce1988fefe |
---|---|
1 Name = ISSILedCapabilities; | 1 Name = ISSILedCapabilities; |
2 Version = 0.1; | 2 Version = 0.2; |
3 Author = "HaaTa (Jacob Alexander) 2015"; | 3 Author = "HaaTa (Jacob Alexander) 2015"; |
4 KLL = 0.3c; | 4 KLL = 0.3c; |
5 | 5 |
6 # Modified Date | 6 # Modified Date |
7 Date = 2015-08-02; | 7 Date = 2015-10-09; |
8 | |
9 # Basic ISSI Capabilities | |
10 # Modes | |
11 # 0: Decrease single led brightness | |
12 # 1: Increase single led brightness | |
13 # 2: Set single led brightness | |
14 # 3: Decrease brightness of all leds | |
15 # 4: Increase brightness of all leds | |
16 # 5: Set brightness of all leds | |
17 # Amount -> 0 -> 255 | |
18 # Index: | |
19 # Depends on keyboard. At least from from 0 -> 143 (single chip). | |
20 # Remember, it may be possible that all leds on a single chip are connected. | |
21 # So it may be possible that you may have index gaps. | |
22 # i.e. 23 then 144 | |
23 ledControl => LED_control_capability( mode : 1, amount : 1, index : 2 ); | |
8 | 24 |
9 # Defines available to the ISSILed sub-module | 25 # Defines available to the ISSILed sub-module |
10 | 26 |
11 # LED Default Enable Mask | 27 # LED Default Enable Mask |
12 # | 28 # |