Mercurial > louis > kiibohd-controller
comparison Macro/PartialMap/capabilities.kll @ 377:dbbdedccc275
Adding layer rotation (next/prev) capability
- Requires kll update
- Including udev id update
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Mon, 28 Sep 2015 19:58:39 -0700 |
parents | 8d41330c194d |
children | 0f7a6b593dc4 |
comparison
equal
deleted
inserted
replaced
376:47f89f1bfdb7 | 377:dbbdedccc275 |
---|---|
1 Name = PartialMapCapabilities; | 1 Name = PartialMapCapabilities; |
2 Version = 0.1; | 2 Version = 0.2; |
3 Author = "HaaTa (Jacob Alexander) 2014"; | 3 Author = "HaaTa (Jacob Alexander) 2014-2015"; |
4 KLL = 0.3a; | 4 KLL = 0.3b; |
5 | 5 |
6 # Modified Date | 6 # Modified Date |
7 Date = 2014-11-21; | 7 Date = 2015-09-24; |
8 | 8 |
9 | 9 |
10 # Capabilties available to the PartialMap module | 10 # Capabilties available to the PartialMap module |
11 layerState => Macro_layerState_capability( layer : 2, state : 1 ); | 11 layerState => Macro_layerState_capability( layer : 2, state : 1 ); |
12 layerLatch => Macro_layerLatch_capability( layer : 2 ); | 12 layerLatch => Macro_layerLatch_capability( layer : 2 ); |
13 layerLock => Macro_layerLock_capability( layer : 2 ); | 13 layerLock => Macro_layerLock_capability( layer : 2 ); |
14 layerShift => Macro_layerShift_capability( layer : 2 ); | 14 layerShift => Macro_layerShift_capability( layer : 2 ); |
15 # By default, rotate to the next layer | |
16 # The current rotating layer is stored separately to the layer stack | |
17 # But still sets the layer stack using the layerLock/unlock mechanism | |
18 # Argument 0 -> Next, 1 -> Previous | |
19 layerRotate => Macro_layerRotate_capability( previous : 1 ); | |
15 | 20 |
16 # Defines available to the PartialMap module | 21 # Defines available to the PartialMap module |
17 stateWordSize => StateWordSize_define; | 22 stateWordSize => StateWordSize_define; |
18 stateWordSize = 8; # Default for now, increase to 16 or 32 for higher limits | 23 stateWordSize = 8; # Default for now, increase to 16 or 32 for higher limits |
19 | 24 |