]> git.donarmstrong.com Git - kiibohd-kll.git/blobdiff - layouts/lcdFuncMap.kll
Adding Lock and Latch symbolic names (e.g. Function)
[kiibohd-kll.git] / layouts / lcdFuncMap.kll
index 85beeb557400b5a79aa34de3225e3f383f612bb3..b9d979cebd7817ed1d6cb4dadb4be5650289c5f9 100644 (file)
@@ -1,10 +1,10 @@
-Name = stdFuncMap;
-Version = 0.1;
+Name = lcdFuncMap;
+Version = 0.2;
 Author = "HaaTa (Jacob Alexander) 2015";
 KLL = 0.3c;
 
 # Modified Date
-Date = 2015-08-17;
+Date = 2015-09-20;
 
 # Maps each Function key incrementally to each layer
 # Unused layers and functions are ignored
@@ -26,6 +26,68 @@ U"Function14" : layerShift( 14 ) + LCDLayerDisplay();
 U"Function15" : layerShift( 15 ) + LCDLayerDisplay();
 U"Function16" : layerShift( 16 ) + LCDLayerDisplay();
 
+U"Lock1" : layerLock( 1 ) + LCDLayerDisplay();
+U"Lock2" : layerLock( 2 ) + LCDLayerDisplay();
+U"Lock3" : layerLock( 3 ) + LCDLayerDisplay();
+U"Lock4" : layerLock( 4 ) + LCDLayerDisplay();
+U"Lock5" : layerLock( 5 ) + LCDLayerDisplay();
+U"Lock6" : layerLock( 6 ) + LCDLayerDisplay();
+U"Lock7" : layerLock( 7 ) + LCDLayerDisplay();
+U"Lock8" : layerLock( 8 ) + LCDLayerDisplay();
+U"Lock9" : layerLock( 9 ) + LCDLayerDisplay();
+U"Lock10" : layerLock( 10 ) + LCDLayerDisplay();
+U"Lock11" : layerLock( 11 ) + LCDLayerDisplay();
+U"Lock12" : layerLock( 12 ) + LCDLayerDisplay();
+U"Lock13" : layerLock( 13 ) + LCDLayerDisplay();
+U"Lock14" : layerLock( 14 ) + LCDLayerDisplay();
+U"Lock15" : layerLock( 15 ) + LCDLayerDisplay();
+U"Lock16" : layerLock( 16 ) + LCDLayerDisplay();
+
+U"Latch1" : layerLatch( 1 ) + LCDLayerDisplay();
+U"Latch2" : layerLatch( 2 ) + LCDLayerDisplay();
+U"Latch3" : layerLatch( 3 ) + LCDLayerDisplay();
+U"Latch4" : layerLatch( 4 ) + LCDLayerDisplay();
+U"Latch5" : layerLatch( 5 ) + LCDLayerDisplay();
+U"Latch6" : layerLatch( 6 ) + LCDLayerDisplay();
+U"Latch7" : layerLatch( 7 ) + LCDLayerDisplay();
+U"Latch8" : layerLatch( 8 ) + LCDLayerDisplay();
+U"Latch9" : layerLatch( 9 ) + LCDLayerDisplay();
+U"Latch10" : layerLatch( 10 ) + LCDLayerDisplay();
+U"Latch11" : layerLatch( 11 ) + LCDLayerDisplay();
+U"Latch12" : layerLatch( 12 ) + LCDLayerDisplay();
+U"Latch13" : layerLatch( 13 ) + LCDLayerDisplay();
+U"Latch14" : layerLatch( 14 ) + LCDLayerDisplay();
+U"Latch15" : layerLatch( 15 ) + LCDLayerDisplay();
+U"Latch16" : layerLatch( 16 ) + LCDLayerDisplay();
+
+
+# Colours assigned to each of the LCD numbers
+# The "top of stack" layer is the colour used
+
+STLcdNumber0Color => STLcdNumber0Color_define;
+STLcdNumber1Color => STLcdNumber1Color_define;
+STLcdNumber2Color => STLcdNumber2Color_define;
+STLcdNumber3Color => STLcdNumber3Color_define;
+STLcdNumber4Color => STLcdNumber4Color_define;
+STLcdNumber5Color => STLcdNumber5Color_define;
+STLcdNumber6Color => STLcdNumber6Color_define;
+STLcdNumber7Color => STLcdNumber7Color_define;
+STLcdNumber8Color => STLcdNumber8Color_define;
+STLcdNumber9Color => STLcdNumber9Color_define;
+
+# Brightness reduced to 75% and converted to 16-bit colour
+# <8-bit>/0xFF * 0xFFFF * 0.75
+STLcdNumber1Color = "0xA8A8, 0x2727, 0x1FA0"; # Taylor Swift's Lips  #E0342A
+STLcdNumber2Color = "0x4B4B, 0x8D8D, 0x34B5"; # Matrix Green         #64BC46
+STLcdNumber3Color = "0x0000, 0x8242, 0xB3F3"; # Smart Water Blue     #00ADEF
+STLcdNumber4Color = "0xF6F6, 0xA5A5, 0x4949"; # Fanta Orange         #F6A549 (boosted to 100%)
+STLcdNumber5Color = "0xB7B7, 0x5D5D, 0x8545"; # Nicki Minaj Pink     #F47CB1
+STLcdNumber6Color = "0xBCFC, 0xB6F6, 0x2D2D"; # Iowa Corn Yellow     #FBDF3C
+STLcdNumber7Color = "0x00C1, 0x7E7E, 0x3C3C"; # Sprite Green         #01A850
+STLcdNumber8Color = "0x8303, 0x1394, 0xB9F9"; # Fanta Purple         #AE1AF7
+STLcdNumber9Color = "0x09CA, 0x12D3, 0x8484"; # Red Bull Blue        #0D19B0
+STLcdNumber0Color = "0xB939, 0xAAEA, 0x8D8D"; # Butter Cow Off-white #F6E3BC
+
 
 # Basic 32x32 numbers used to display layer stack
 # Up to 4 of these numbers can be shown at a time on the LCD