Gergely Nagy
07efbce40d
Merge pull request #321 from keyboardio/f/millisAtCycleStart
...
Introduce Kaleidoscope.millisAtCycleStart()
7 years ago
Gergely Nagy
e43d2cb391
Introduce Kaleidoscope.millisAtCycleStart()
...
Many plugins use timers, and most of them will call `millis()`, which isn't
wrong, but isn't the most efficient either. While `millis()` isn't terribly
expensive, it's not cheap either. For most cases, we do not need an exact timer,
and one updated once per cycle is enough - which is what `.millisAtCycleStart()`
is. Having a timer that is consistent throughout the whole cycle may also be
beneficial.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
5c9b0df8ce
Merge pull request #322 from keyboardio/f/glossary
...
doc/glossary.md: A small update
7 years ago
Gergely Nagy
d76cc284a4
Merge pull request #301 from gedankenexperimenter/bug/macos-serial-port-update
...
Improved macOS serial port detection (again)
7 years ago
Jesse Vincent
519dbe3bec
Merge pull request #330 from keyboardio/f/kaleidoscope-builder/no-auto-clean
...
kaleidoscope-builder: Use a stable build directory
7 years ago
Gergely Nagy
8c814a87fa
kaleidoscope-builder: Use a stable build directory
...
Use ./_build/ for the build path by default, and do not delete it at the end of
compilation, only when doing a clean.
Fixes #315 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
61d70b5cac
Updated the README and the example with a better example
...
Instead of a twisted combination, use the palm keys - easy to press, and
otherwise unused in the example. Also, use `Macros.type` instead of
`Serial.println`, because the former is easier to play with as a user.
Fixes #5 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
26bfce0b77
Update the example to show off Oneshot.inject()
...
Fixes #33 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
887e015afb
Merge pull request #328 from keyboardio/f/kaleidoscope-builder/ergodox-support
...
kaleidoscope-builder: Improvements for easier ErgoDox support
7 years ago
Gergely Nagy
c65a1b89bf
kaleidoscope-builder: Do not reset the device if NO_RESET is set
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
7a4f0bac85
kaleidoscope-builder: Do not hardcode the max program size
...
Instead of hardcoding the max program size, pick it out of boards.txt, like we
pick the device VID and PID.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
7f92a9086a
Merge pull request #324 from MaxG87/constexpr
...
Minor improvements on Key union
7 years ago
Max Görner
2889f1c301
Remove `inline' for improved readability
7 years ago
Gergely Nagy
9fdabe5e02
Merge pull request #326 from jamesnvc/patch-2
...
Minor typo/grammar corrections
7 years ago
James Cash
08a0af045f
Minor typo/grammar corrections
7 years ago
Max Görner
b2254e1c7f
Slightly improve function signatures
...
The member functions of the union now take all arguments const, meaning
that it is not possible to modify this value somehow. This reduces the
chance of subtle bugs and widens the contexts in which these member
functions can be used.
Furthermore, one signature took a `Key' by value while all functions
take `Key' by reference. For the sake of consistency, this was adapted
to.
7 years ago
Max Görner
066d00d117
Add const and constexpr specifiers to Key union
...
Making the member functions of Key `const' explicitly flags that they
will not change the union. This will allow to use Key in const contexts.
Adding the `constexpr' specifier to the function makes it possible to
rely on the results at compile time. This puts some kind of restrictions
on the function, especially when using C++11 and not a newer standard,
but these restrictions were already fulfilled, so this seems to be safe.
7 years ago
Gergely Nagy
65526a1df6
doc/glossary.md: A small update
...
Updates the formatting a bit, and adds a few entries too. Still much to be done,
but... small steps!
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
48927e5ccf
Merge pull request #4 from keyboardio/h/timer-based-update
...
Use timers instead of ticks to time when to update the effects
7 years ago
Gergely Nagy
8546814b98
Merge pull request #314 from algernon/f/builder/flash-hooks
...
kaleidoscope-builder: add `preFlash_HOOKS` and `postFlash_HOOKS`
7 years ago
Gergely Nagy
1fabb870b1
Merge pull request #6 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
42f43e94f6
Merge pull request #9 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
30bbd49058
Merge pull request #8 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
73f69c1787
Merge pull request #23 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
1434839aa0
Merge pull request #7 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
75cb920de6
Merge pull request #2 from keyboardio/f/plugin-v2
...
Updated the README to use the new plugin APIs
7 years ago
Gergely Nagy
a7fae41a3e
Merge pull request #6 from keyboardio/f/plugin-v2
...
Updated the README to use the new plugin APIs
7 years ago
Gergely Nagy
f2384054c0
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated the README to use the new plugin APIs
7 years ago
Gergely Nagy
7fb2973e7b
Merge pull request #2 from keyboardio/f/plugin-v2
...
Updated the README and the example to use the new plugin APIs
7 years ago
Gergely Nagy
ace0ba7a6e
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
0e5c00b357
Merge pull request #9 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
f2c4fd77fa
Merge pull request #11 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
ceaee8a74c
Merge pull request #31 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
2bdc07b7bd
Merge pull request #8 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
6efbc3b780
Merge pull request #19 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
eb691a143e
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
58376f486d
Merge pull request #4 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
082400184b
Merge pull request #21 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
fb4bff72bd
Merge pull request #17 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
3904cf00a6
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
fb787d59ac
Merge pull request #7 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
8d8419ee51
Merge pull request #2 from keyboardio/f/plugin-v2
...
Updated to work with the new plugin API
7 years ago
Gergely Nagy
4934c4e2a2
Merge pull request #8 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
2a5ba8f6b2
Merge pull request #6 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
989f1417ac
Merge pull request #3 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
13cba1d219
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
8459e50815
Merge pull request #10 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
11cc38d6bc
Merge pull request #1 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
2021f527e7
Merge pull request #1 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
524523e0d0
Merge pull request #9 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago