Gergely Nagy
4781af907b
Merge pull request #7 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
0d22199cac
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
b078a29d23
Update Makefile to fix OS X build
7 years ago
Jesse Vincent
769470fbd6
CamelCaseifcation of LED related functions
...
s/led_set_crgb_at/setCrgbAt/
s/hsv_to_rgb/hsvToRgb/
s/led_get_crgb_at/getCrgbAt/
s/led_sync/syncLeds/
s/get_led_index/getLedIndex/
s/send_led_data/sendLedData/
s/led_power_fault/ledPowerFault/
7 years ago
Jesse Vincent
08501e59e0
CamelCase of KeyIsPressed and KeyWasPressed
7 years ago
Jesse Vincent
e6de144198
keyToggledO* camelcasing
7 years ago
Gergely Nagy
db8acdd520
README.md: Further clarifications
...
Fixes #5 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9317ec61e2
Migrate from USE_PLUGINS to Kaleidoscope.use
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c2d5103a17
Merge pull request #6 from jamesnvc/patch-1
...
Copy edits, symbol clarification
8 years ago
Gergely Nagy
500973eaf9
Fix ALPHASQUARE_SYMBOL_1 in the 3x4 font
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
James Cash
f9ae733be5
Copy edits, symbol clarification
8 years ago
Jesse Vincent
80c6e1f26c
0 was duplicated
8 years ago
Jesse Vincent
af3cfba124
astyle didn't catch this whitespace issue
8 years ago
Jesse Vincent
ee4265ad77
fixes for cpplint, including a really embarssing mistake
8 years ago
Jesse Vincent
a7622eff04
Correct the description of 3x4 font
8 years ago
Jesse Vincent
23a890dd7f
Add a first pass at a 3x4 font.
8 years ago
Jesse Vincent
891bab11ec
Extract the typeface out into its own file
8 years ago
Gergely Nagy
a6a2288c20
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9e6b7e22f6
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
d515f0088b
Make the linter happy
8 years ago
Jesse Vincent
ecef342f1f
astyle with current project style guidelines
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
3adb8c28af
make astyle
8 years ago
Jesse Vincent
2b33266452
New build infrastructure
8 years ago
Jesse Vincent
c7eb22c3ec
Update example to match the new Keymap
8 years ago
Gergely Nagy
3941d98a7b
README: Add a "Dependencies" section
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b4759decf2
Optional, extra symbols
...
This adds the Kaleidoscope::AlphaSquareSymbols namespace, for symbols that fall
outside of the normal alphanumerics. The first such symbol is `λ`.
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
d805d50d22
Only apply the effect, if the LED mode is active
...
When using AlphaSquareEffect, in the event handler hook, return early if the
currently active LED mode is not us.
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
397c08ec9f
Up the effect length to 1 second
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
91380a81c8
Clear the previous key when a new one is pressed
...
When we light up a new key, clear the previous one (but only if it isn't the
same, to avoid flickering).
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
49720378bd
Fix the right hand clearing
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
29841ec02e
Add a LEDMode based on AlphaSquare.
...
The new singleton objects implements a LED mode where each pressed key
will light up the appropriate symbol on the LEDs, on the side it was
pressed on. We use different timers for each half.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ca1cd7c590
Implement a set of .clear() methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e48d23c0ea
Add a way to display symbols in different colors
...
While it is possible to play with the ->color property, sometimes one
just wants to override the color once. In this case, saving the previous
value, and changing it back would be an overkill.
Instead, add a few functions that take a color argument as well, and
make the color-less arities use the global property.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
69cad076bc
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ddd6b766fd
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago