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
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
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
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
69f244b43b
make astyle
8 years ago
Jesse Vincent
46d40dd3d5
make astyle
8 years ago
Jesse Vincent
3adb8c28af
make astyle
8 years ago
Jesse Vincent
e3dc58f384
make astyle
8 years ago
Jesse Vincent
c069df3919
make astyle
8 years ago
Jesse Vincent
f2ee554ce6
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
Jesse Vincent
e357203eec
New build infrastructure
8 years ago
Jesse Vincent
e936c9c59a
New build infrastructure
8 years ago
Jesse Vincent
124b70ec00
New build infrastructure
8 years ago
Jesse Vincent
90f5c51386
New build infrastructure
8 years ago
Jesse Vincent
2b33266452
New build infrastructure
8 years ago
Jesse Vincent
9964a151ef
New build infrastructure
8 years ago
Jesse Vincent
a49830338c
New build infrastructure
8 years ago
Jesse Vincent
59c361e6c8
New build infrastructure
8 years ago
Jesse Vincent
1d2719dc98
New build infrastructure
8 years ago
Jesse Vincent
903230ec14
Update to new build infrastructure
8 years ago
Jesse Vincent
c5c361cb3c
"build-all" now works for a top-level sketch
8 years ago
Jesse Vincent
532696abb5
remove recursion into 'the global set of libraries'
8 years ago
Gergely Nagy
e3c90512e9
Merge pull request #133 from keyboardio/lazy-version-calc
...
Only calculate version and filenames as we're building.
8 years ago
Jesse Vincent
da2adaf96d
Remove "Key_" prefix from ConsumerCtl and Sysctl key defs.
...
It was redundant, made things less readable and lest clear
8 years ago
Jesse Vincent
5babb70498
Move a pre-build check to somewhere it won't break on build-all
8 years ago
Jesse Vincent
0025d44f34
Only calculate version and filenames as we're building.
...
This helps unbreak build-all and out of tree builds
8 years ago
Jesse Vincent
d9706f6d0d
Bring up to new API
8 years ago
Jesse Vincent
6d232fb7c7
Update to new key api
8 years ago