Jesse Vincent
2e428d8ccc
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/
8 years ago
Jesse Vincent
6c723bee32
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/
8 years ago
Jesse Vincent
a84060e8d1
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/
8 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/
8 years ago
Jesse Vincent
b65f175343
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/
8 years ago
Jesse Vincent
ee0ccdd91d
CamelCase of handle_*_key*
8 years ago
Jesse Vincent
6b850c140d
Switch Macros to use an API rather than doing its own bitmath
8 years ago
Jesse Vincent
66ff95877d
CamelCase of handle_*_key*
8 years ago
Jesse Vincent
09e596a8a2
CamelCase of handle_*_key*
8 years ago
Jesse Vincent
210287684f
CamelCase of handle_*_key*
8 years ago
Jesse Vincent
08501e59e0
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent
b3f1371fb5
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent
2582441523
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent
0f2bae7db7
keyToggledO* camelcasing
8 years ago
Jesse Vincent
e6de144198
keyToggledO* camelcasing
8 years ago
Jesse Vincent
f30af4d85d
keyToggledO* camelcasing
8 years ago
Jesse Vincent
a8faa2d594
Switch to new key toggle API
8 years ago
Jesse Vincent
3154f7c997
Add "correct" camelCase versions of the keyswitch state macros to ease transition to the new API
...
We'll remove the deprecated versions after the core greps clean
8 years ago
Jesse Vincent
72cd5f7db8
Update to work with new simpler Nulock API
8 years ago
Jesse Vincent
ff4b316f76
REC became PROG and LED and PROG switched places for mass production
8 years ago
Jesse Vincent
4e46843f32
LED_G was missing. Caught by @cdisselkoen++
8 years ago
Jesse Vincent
3a90cc42b2
Merge pull request #8 from keyboardio/f/init-mode
...
Add LEDControl.init_mode()
8 years ago
Jesse Vincent
74363e6a4a
Merge pull request #11 from cdisselkoen/master
...
Remove requirement to end MACRO() sequences with special token END
8 years ago
Craig Disselkoen
c6af9a17e3
Remove internal usage of END macro, in favor of MACRO_ACTION_END
8 years ago
Craig Disselkoen
ebd9f35d62
Automatically add END to invocations of MACRO() and friends
...
Requiring end-users to terminate macros with END strikes me as
easy to mess up, and perhaps inelegant. This commit removes the
requirement for end-users to terminate macros with END.
As a result of this commit, end-users (including other plugins) who
do use END will see a tiny amount of increased code size (1 byte per
declared macro I believe), but functionality remains intact.
Usage of END is hereby deprecated, and eventually #define END may
be removed in a future commit.
README.md has been modified with the new usage instructions, and
a note that usage of END is deprecated.
8 years ago
Jesse Vincent
4a9ce76915
Merge pull request #139 from cdisselkoen/for-upstream
...
Fix paths in README.md to match Makefile
8 years ago
Craig Disselkoen
43af3eff08
Fix paths in README.md to match Makefile
8 years ago
Gergely Nagy
b6461e5f40
Add LEDControl.init_mode()
...
The new `init_mode()` method simply (re-)inits the current mode. Useful when a
plugin that changes LEDs outside of LED modes wants to reset the active LED
mode. Doubly useful when the active LED mode does all the work in its `init()`
method.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
8d85120f96
Merge pull request #138 from keyboardio/f/coding-style-markdown
...
doc/CODING_STYLE: Convert the style guide to Markdown
8 years ago
Gergely Nagy
568903b1da
doc/CODING_STYLE: Convert the style guide to Markdown
...
This converts the Style Guide to Markdown. Some small changes were
applied, mostly in the beginning, up until "Local Variables", roughly. After
that, only striked through sections were removed, and the wording was kept.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
51f37933f3
astyle 3.0 caught this style violation
8 years ago
Jesse Vincent
95bd188a54
Make cpplint-noisy happy
8 years ago
Jesse Vincent
c8586985fd
Add toggling on of the on-board green status LEDs.
...
The factory needs this to verify the hardware during build
8 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
b3cb09268b
README.md: Clarify how colors can be specified
...
While technically one can specify colors otherwise, for the sake of simplicity,
mention only `CRGB`, but do mention it explicitly, so the reader does not need
to look at the example to figure this out.
Fixes #9 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
efa9cdf291
Migrate to Kaleidoscope.use()
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
754647b6ca
README.md: Improve the `MACRODOWN` docs
...
Attempt to explain when and why to use it over `MACRO`.
Fixes #9 together with the previous commit.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
25093c7455
README.md: Improved the .row/.col documentation
...
It now tells the reader that the value of `.row`/`.col` is unspecified if not
triggered by a key.
Addresses part of #9 .
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
Gergely Nagy
8055b0936e
Merge pull request #10 from jamesnvc/patch-1
...
Minor copy edits
8 years ago
Gergely Nagy
48d86894c0
Merge pull request #10 from jamesnvc/patch-1
...
Minor copy-edits
8 years ago
James Cash
f9ae733be5
Copy edits, symbol clarification
8 years ago
James Cash
d0546744a9
Minor copy edits
8 years ago
James Cash
f2bad8669c
Minor copy-edits
8 years ago
Gergely Nagy
0af034bde9
README.md: Add a bit of documentation
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a78a89ed8b
library.properties: Fill out paragraph= too
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
3276b97a2e
README.md: A few words about the plugin
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6b7bafc08f
library.properties: Fill out the paragraph too.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago