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
0f8db1cf88
Merge pull request #43 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
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
900dba831f
Merge pull request #8 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
Gergely Nagy
7b49a2c011
deprecations: Make some of them less scary
...
By far the most common deprecation will be the event handler and loop hook
deprecation. Make them less scary, and point out that unless one's a developer,
they likely need not care.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
dbb4152cb2
Updated to use the new plugin API
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
1a6db5a875
Merge pull request #320 from keyboardio/f/deprecations/separate-header
...
Move deprecation messages to a separate header
7 years ago
Gergely Nagy
ecc20bde9d
Move deprecation messages to a separate header
...
Moving the deprecation messages to a separate header, and adding a few helpers
allow us to write much more detailed deprecation messages, without needlessly
making the code look incredibly messy.
This also updates most of the deprecation messages to be much more helpful, and
provide hints at how to fix the warnings produced by them.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
d5251e8ed1
Merge pull request #319 from keyboardio/f/api-bump
...
Bump the API version
7 years ago
Gergely Nagy
abf6ea668e
Update UPGRADING.md too
...
Rearranged a little, so deprecation is a section, and we can put other things,
notes, into the document. With the rearrangement, added a section about the new
plugin API, and explained the API version bump too.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
8f07f038ca
Bump the API version
...
Due to the plugin API redesign, plugins that migrate may want to ensure they are
compiled against a recent enough Kaleidoscope. Others may opt to provide
separate implementations for each version. For this to work, we need to bump the
API version.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
ee5cc576a0
Updated to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
e9b9d41626
Updated to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
e249fd2de6
handleKeyswitchEvent: Fix a thinko that broke old-style plugins
...
Fixed a conditional so that the event handlers of old-style plugins will be
called. Without this, they don't, and old-style plugins that install event
handlers, would not work.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
19cffca5c4
Updated to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
445655a666
Updated to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
8074c18d2d
Updated to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
5d71c259f4
Updated to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago