Mercurial > louis > kiibohd-kll
changeset 53:9841f5a7b742
Adding colors associations to layers.
- All colors (except Fanta Orange) have been reduced by 75%
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Tue, 18 Aug 2015 10:45:57 -0700 |
parents | 059d72d6fd6d |
children | 7faa715f9280 |
files | layouts/lcdFuncMap.kll |
diffstat | 1 files changed, 28 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/layouts/lcdFuncMap.kll Tue Aug 18 01:11:51 2015 -0700 +++ b/layouts/lcdFuncMap.kll Tue Aug 18 10:45:57 2015 -0700 @@ -27,6 +27,34 @@ U"Function16" : layerShift( 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