Jesse Vincent
7cd1eee07d
our guidance on inline functions is a little bit difference because we're targeting embedded devices
8 years ago
Jesse Vincent
02ea090ac7
We use #pragma once
8 years ago
Jesse Vincent
01bfee48cb
GCC extensions are ok
8 years ago
Jesse Vincent
5873b461ac
we don't use std::hash
8 years ago
Jesse Vincent
b0577d241c
Boost does not make sense in this context
8 years ago
Jesse Vincent
30edd7da2f
64 bit portability is a non-goal
8 years ago
Jesse Vincent
ce595a848e
Switch the style guide to HTML, rather than wasting hours butchering
...
Google's nice semantic HTML to Markdown
8 years ago
Jesse Vincent
f7b071d134
Add notes from @obra and @algernon. As yet not integrated
8 years ago
Jesse Vincent
b33669af45
Checking in a markdown-ified (but otherwise unmodified) version of the
...
Google C++ style guide as of June 2, 2017
8 years ago
Gergely Nagy
09ba7dd756
Port over to LED-Palette-Theme
...
Fixes #6 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
915e7068f6
Merge pull request #7 from keyboardio/f/get-led-index
...
Add a `get_led_index` function
8 years ago
Gergely Nagy
733511fc37
Add a `get_led_index` function
...
Given a `row`/`col` coordinate, this new function returns the index of the LED
under that key. To be used with the `led_set_crgb_at(i, crgb)` function.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0fc32dbd94
Add a number of helper functions
...
Added `lookupColor(index)`, which looks up a color in the palette, by index.
Made the `row, col` variant public, and added an `updateColor` method.
These are there to help porting FingerPainter.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9e10c9e686
make astyle
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
947019733d
Rename to Kaleidoscope-Colormap
...
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
34c5297875
Only request a palette slice, if we haven't already
...
This should - in theory - allow other plugins to just use `LEDPaletteTheme`,
without having many copies of the palette.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7b8ae3c9c0
examples: Fix the example build
...
Include Focus, so the example will build.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f7196ef26d
Migrate to LED-Palette-Theme
...
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b81cc12708
Initial import
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
813a48a04f
Add the ability to specify CFLAGS through the builder
8 years ago
Jesse Vincent
356dd681f9
astyle 3.0 fixups
8 years ago
Jesse Vincent
ede5fdba6c
astyle with astyle 3.0, which matters for this code
8 years ago
Jesse Vincent
437a349288
make astyle
8 years ago
Jesse Vincent
3b32197829
make astyle
8 years ago
Jesse Vincent
26e7e187df
make astyle
8 years ago
Jesse Vincent
a16411ff93
make astyle
8 years ago
Jesse Vincent
ae6aeec44d
make astyle
8 years ago
Jesse Vincent
b661511a1a
make astyle
8 years ago
Jesse Vincent
80e27ef57a
make astyle
8 years ago
Jesse Vincent
ad09f54c0d
make astyle
8 years ago
Jesse Vincent
e23f014f1c
make astyle
8 years ago
Jesse Vincent
69f244b43b
make astyle
8 years ago
Jesse Vincent
f148a4c7e7
make astyle
8 years ago
Jesse Vincent
1f8fc546e5
make astyle
8 years ago
Jesse Vincent
e1fd94e4ff
make astyle
8 years ago
Jesse Vincent
46d40dd3d5
make astyle
8 years ago
Jesse Vincent
3adb8c28af
make astyle
8 years ago
Jesse Vincent
1a9f3e1a33
make astyle
8 years ago
Jesse Vincent
e3dc58f384
make astyle
8 years ago
Jesse Vincent
c069df3919
make astyle
8 years ago
Jesse Vincent
0489fd9196
make astyle
8 years ago
Jesse Vincent
f2ee554ce6
make astyle
8 years ago
Jesse Vincent
849c87606f
make astyle
8 years ago
Jesse Vincent
517636d479
make astyle
8 years ago
Jesse Vincent
14d236ed39
make astyle
8 years ago
Jesse Vincent
d75939d456
make astyle
8 years ago
Jesse Vincent
97008a28f0
"make astyle
8 years ago
Jesse Vincent
a0cebeb0ee
Switch to modern build infrastructure
8 years ago
Jesse Vincent
9825e4057a
Attempt to switch to shared build infrastructure for build and test.
...
The one downside to this is that we're now using the version of builder
in Arduino-boards rather than in the current checkout.
8 years ago
Jesse Vincent
0e0f3037e5
Modernize build and test infra
8 years ago