Jesse Vincent
4ee9ca4e63
pressConsumer/releaseConsumer -> pressConsumerControl / releaseConsumerControl
...
ditto for SystemControl
8 years ago
Jesse Vincent
f5aaedffd5
add an "isModifierActive" to the hid facade
8 years ago
Jesse Vincent
02695b8cea
Add a facde for KeyboardioHID's *.begin()
8 years ago
Jesse Vincent
8b187366c7
Create an abstraction on top of the KeyboardioHID interface
...
so that user code doesn't need to know anything about it.
(This also paves the way for @wez' EventDispatcher)
8 years ago
Jesse Vincent
178dd0a5f1
Merge pull request #141 from cdisselkoen/update-for-new-Macros-API
...
Update for changes to Kaleidoscope-Macros no longer requiring END
8 years ago
Craig Disselkoen
1cf8d9afdb
Update for changes to Kaleidoscope-Macros no longer requiring END
8 years ago
Jesse Vincent
9434d7b2bf
Update function naming from CamelCase to camelCase,
...
to match what actually happens in the Arduino Universe
8 years ago
Jesse Vincent
cb3a6d78c8
press_key-> pressKey
8 years ago
Jesse Vincent
396ae22a67
release_key->releaseKey
8 years ago
Jesse Vincent
9573630c19
camelCasing of internal functions in Hardware file
8 years ago
Jesse Vincent
4712aabfd4
camelCasing of _matrix functions
8 years ago
Jesse Vincent
e29e220416
camelCasing of _matrix functions
8 years ago
Jesse Vincent
c4fccab55b
get_key_color -> getKeyColor
8 years ago
Jesse Vincent
082b409054
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
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
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
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