From 556f6d19a315775a366755061aa218c6909ca775 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 26 Jun 2019 00:37:20 +0200 Subject: Add script to apply color maps. Once again, credits to algernon for the maps: https://git.madhouse-project.org/algernon/Model01-Sketch/src/branch/master/tools/colormap --- src/colormap.map | 41 +++++++++++++++++++++++++++++++++++++++++ src/palette | 16 ++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 src/colormap.map create mode 100755 src/palette (limited to 'src') diff --git a/src/colormap.map b/src/colormap.map new file mode 100644 index 0000000..2ba99d4 --- /dev/null +++ b/src/colormap.map @@ -0,0 +1,41 @@ +## Map RxCy to a palette index. Coordinates can be found at +## ./lib/hardware/keyboardio/avr/libraries/Kaleidoscope/doc/model01_coordinates.png + + +# Dvorak + +0 0 0 0 0 0 0 1 +0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 5 +8 0 0 0 0 0 3 0 + +2 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 +0 6 0 0 0 0 0 0 + + +# Nav + +0 3 3 3 3 3 0 1 +0 7 6 2 6 7 6 0 +0 7 2 2 2 7 2 5 +0 0 6 0 6 0 3 0 + +2 0 3 3 3 3 3 3 +0 0 8 8 2 8 0 3 +0 2 8 2 2 2 0 0 +0 0 0 0 0 0 0 0 + + +# Num + +0 0 0 0 0 0 0 1 +0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 5 +0 0 0 0 0 0 0 0 + +2 0 0 0 0 0 0 0 +0 0 0 7 7 7 0 3 +0 3 7 7 7 7 3 3 +0 6 3 7 7 7 0 0 diff --git a/src/palette b/src/palette new file mode 100755 index 0000000..a33d7c6 --- /dev/null +++ b/src/palette @@ -0,0 +1,16 @@ + 0 0 0 # Black + 0 0 170 # Blue + 0 170 0 # Green + 0 170 170 # Cyan +170 0 0 # Red +170 0 170 # Magenta +170 85 0 # Brown +170 170 170 # Light grey + 85 85 85 # Dark grey + 85 85 255 # Bright blue + 85 255 85 # Bright green + 85 255 255 # Bright cyan +255 85 85 # Bright red +255 85 255 # Bright Magenta +255 255 85 # Yellow +255 255 255 # White / transparent -- cgit v1.2.3